package com.sckw.payment.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 退款操作记录表
* @date 2023-09-19 10:26:44
* @author xucaiqin
*/

@Data
@TableName(value = "kwp_wallet_refund_sub")
public class KwpWalletRefundSub {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 退款单id
     */
    @TableField(value = "refund_id")
    private Long refundId;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 0-正常 1-删除
     */
    @TableField(value = "del_flag")
    private Integer delFlag;

    /**
     * 1-申请退款 发起退款 退款驳回
     */
    @TableField(value = "`status`")
    private Integer status;
}