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-10-07 08:49:45
* @author xucaiqin
*/
@Data
@TableName(value = "kwp_wallet")
public class KwpWallet {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * uid
     */
    @TableField(value = "`uid`")
    private String uid;

    /**
     * filter
     */
    @TableField(value = "`filter`")
    private String filter;

    /**
     * 渠道
     */
    @TableField(value = "channel")
    private String channel;

    /**
     * 相关操作
     */
    @TableField(value = "`action`")
    private String action;

    /**
     * 关联的操作时间
     */
    @TableField(value = "action_time")
    private LocalDateTime actionTime;

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

    /**
     * 关联操作对应的订单
     */
    @TableField(value = "order_no")
    private String orderNo;

    /**
     * 关联操作对应的状态
     */
    @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;
}