package cn.pluss.platform.entity;

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 lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Djh
 * @since 2020-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_pluss_merchant_transfer_cash")
public class MerchantTransferCash implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 提现金额
     */
    @TableField("cashAmt")
    private BigDecimal cashAmt;

    /**
     * 提现用户Id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 提现用户名称
     */
    @TableField("userName")
    private String userName;

    /**
     * 提现状态1：提现中 2:提现成功，3：提现失败
     */
    private String status;

    /**
     * 提现时间
     */
    @TableField("cashTime")
    private Date cashTime;

    /**
     * 提现单号
     */
    @TableField("cashNo")
    private String cashNo;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private Date createTime;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private Date dateStr;

}
