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-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_pluss_merchant_transfer")
public class MerchantTransfer implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 转账商户编号
     */
    @TableField("merchantCode")
    private String merchantCode;

    /**
     * 转账商户简称
     */
    private String alias;

    /**
     * 转账通道商户编号
     */
    @TableField("channelNo")
    private String channelNo;

    /**
     * 转账通道id
     */
    @TableField("channelId")
    private Integer channelId;

    /**
     * 转账金额
     */
    private BigDecimal amount;

    /**
     * 创建时间(打款发起时间)
     */
    @TableField("createDt")
    private Date createDt;

    /**
     * 打款订单号
     */
    @TableField("orderNo")
    private String orderNo;

    /**
     * 备注
     */
    private String content;

    /**
     * 转账时间
     */
    @TableField("transTime")
    private Date transTime;

    /**
     * 转账通道单号
     */
    @TableField("transNo")
    private String transNo;

    /**
     * 描述
     */
    private String remark;

}
