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-22 15:49:51
 * @author xucaiqin
 */
@Data
@TableName(value = "kwp_wallet_prepay")
public class KwpWalletPrepay {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 中台订单号
     */
    @TableField(value = "order_no")
    private String orderNo;

    /**
     * 操作 1-新增预付 2-预付追加
     */
    @TableField(value = "`action`")
    private Integer action;

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

    /**
     * 1-已提交 2-预付成功 3-预付失败
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 创建人
     */
    @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;
}
