package cn.com.ctop.finance.payment.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * 款项池表
 */
@Data
@TableName("finance_payment_pool")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "finance_payment_pool对象", description = "款项池表")
public class FinancePaymentPool {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 客户(主体)ID
     */
    @Excel(name = "客户(主体)ID", width = 15)
    @ApiModelProperty(value = "客户(主体)ID")
    private String advertiserId;
    /**
     * 客户(主体)
     */
    @Excel(name = "客户(主体) ", width = 15)
    @ApiModelProperty(value = "客户(主体) ")
    private String advertiserName;
    /**
     * 产品id
     */
    @Excel(name = "产品id", width = 15)
    @ApiModelProperty(value = "产品id")
    private Long productId;
    /**
     * 产品
     */
    @Excel(name = "产品", width = 15)
    @ApiModelProperty(value = "产品")
    private String productName;
    /**
     * 拨款类型：1-预付款、2-垫款
     */
    @Excel(name = "拨款类型：1-预付款、2-垫款", width = 15)
    @ApiModelProperty(value = "拨款类型：1-预付款、2-垫款")
    private String paymentType;
    /**
     * 媒体类型 1-头条、2-快手、7-磁力金牛、9-广点通
     */
    @Excel(name = "媒体类型 1-头条、2-快手、7-磁力金牛、9-广点通", width = 15)
    @ApiModelProperty(value = "媒体类型 1-头条、2-快手、7-磁力金牛、9-广点通")
    private String paymentMedia;
    /**
     * 端口类型：1-汇创、2-骄阳、3-江西五七、4-北京五六七
     */
    @Excel(name = "端口类型：1-汇创、2-骄阳、3-江西五七、4-北京五六七", width = 15)
    @ApiModelProperty(value = "端口类型：1-汇创、2-骄阳、3-江西五七、4-北京五六七")
    private String paymentPort;
    /**
     * 现金金额
     */
    @Excel(name = "现金金额", width = 15)
    @ApiModelProperty(value = "现金金额")
    private java.math.BigDecimal cashAmount;
    /**
     * 账显金额
     */
    @Excel(name = "账显金额", width = 15)
    @ApiModelProperty(value = "账显金额")
    private java.math.BigDecimal displayAmount;
    /**
     * 返点类型：1-返货、2-返现
     */
    @Excel(name = "返点类型：1-返货、2-返现", width = 15)
    @ApiModelProperty(value = "返点类型：1-返货、2-返现")
    private String rebateType;
    /**
     * 返点比例
     */
    @Excel(name = "返点比例", width = 15)
    @ApiModelProperty(value = "返点比例")
    private Double rebateRate;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 开始时间
     */
    @TableField(exist = false)
    private String startDate;
    /**
     * 结束时间
     */
    @TableField(exist = false)
    private String endDate;
}
