package cn.kk.spring_simple_operation.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 java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 策划任务统计表
 * </p>
 *
 * @author guokunkun
 * @since 2026-03-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("visual_plan_executor_task_record")
@ApiModel(value = "VisualPlanExecutorTaskRecord对象", description = "策划任务统计表")
public class VisualPlanExecutorTaskRecord implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("任务类型，0-A+策划，1-视频策划")
    @TableField("task_type")
    private Integer taskType;

    @ApiModelProperty("任务执行人的用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("年份")
    @TableField("year_int")
    private Integer yearInt;

    @ApiModelProperty("月份")
    @TableField("month_int")
    private Integer monthInt;

    @ApiModelProperty("日期")
    @TableField("task_date")
    private Integer taskDate;

    @ApiModelProperty("当月任务数量")
    @TableField("task_weight_num")
    private BigDecimal taskWeightNum;

    @ApiModelProperty("当月任务数量排名")
    @TableField("task_weight_num_rank")
    private Integer taskWeightNumRank;

    @ApiModelProperty("销量增长")
    @TableField("sales_growth")
    private Integer salesGrowth;

    @ApiModelProperty("销量增长排名")
    @TableField("sales_growth_rank")
    private Integer salesGrowthRank;

    @ApiModelProperty("评优数量")
    @TableField("appraising_num")
    private Integer appraisingNum;

    @ApiModelProperty("质检等级")
    @TableField("inspect_grade")
    private String inspectGrade;

    @ApiModelProperty("综合排名")
    @TableField("comprehensive_rank")
    private Integer comprehensiveRank;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("是否人为修改了数量，0-否，1-是")
    @TableField("is_change")
    private Integer isChange;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Integer createTime;


}
