package cn.com.ctop.kuaishou.modules.ai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
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;

/**
 * 智能投放-账户层级操作记录表
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2021-07-11
 */
@Data
@TableName("ctop_ai_kuaishou_account_level_operation_record")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_ai_kuaishou_account_level_operation_record对象", description = "智能投放-账户层级操作记录表")
public class AiKuaishouAccountLevelOperationRecord {

    /**
     * 账户操作表uuid
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "账户操作表uuid")
    private String id;
    /**
     * AI策略ID
     */
    @Excel(name = "AI策略ID", width = 15)
    @ApiModelProperty(value = "AI策略ID")
    private String aiStrategyUuid;
    /**
     * 项目ID
     */
    @Excel(name = "项目ID", width = 15)
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    /**
     * 账户ID
     */
    @Excel(name = "账户ID", width = 15)
    @ApiModelProperty(value = "账户ID")
    private Long accountId;
    /**
     * 异常类型 1 检查错误，2创建时错误
     */
    @Excel(name = "错误类型", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer errType;
    /**
     * 1：账户自动投放 2：项目自动投放
     */
    @Excel(name = "1：账户自动投放 2：项目自动投放", width = 15)
    @ApiModelProperty(value = "1：账户自动投放 2：项目自动投放")
    private Integer createType;
    /**
     * 状态详情
     */
    @Excel(name = "状态详情", width = 15)
    @ApiModelProperty(value = "状态详情")
    private String message;
    private String statDate;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    private Date updateTime;
}
