package cn.com.ctop.common.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
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 org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 账户赔付记录';
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2022-09-16
 */
@Data
@TableName("ctop_account_compensation")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_account_compensation对象", description = "账户赔付记录'; ")
public class AccountCompensation {

    /**
     * 运营ID
     */
    @Excel(name = "运营ID", width = 15)
    @ApiModelProperty(value = "运营ID")
    private String userId;
    /**
     * 开始日期
     */
    @Excel(name = "日期", width = 15)
    @ApiModelProperty(value = "开始日期")
    private String startDate;
    /**
     * 结束日期
     */
    @Excel(name = "日期", width = 15)
    @ApiModelProperty(value = "结束日期")
    private String endDate;
    /**
     * 项目id
     */
    @Excel(name = "项目id", width = 15)
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 账户id
     */
    @Excel(name = "账户id", width = 15)
    @ApiModelProperty(value = "账户id")
    private Long accountId;
    /**
     * 赔偿金
     */
    @Excel(name = "赔偿金", width = 15)
    @ApiModelProperty(value = "赔偿金")
    private java.math.BigDecimal compMoney;
    /**
     * 平台类型 1 头条 2快手
     */
    @Excel(name = "平台类型 1 头条 2快手", width = 15)
    @ApiModelProperty(value = "平台类型 1 头条 2快手")
    private String mediaId;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
