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.TableLogic;
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-05-06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("visual_task_weight")
@ApiModel(value = "VisualTaskWeight对象", description = "视觉任务权重表")
public class VisualTaskWeight implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("任务id")
    @TableField("task_id")
    private Long taskId;

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

    @ApiModelProperty("权重")
    @TableField("weight")
    private BigDecimal weight;

    @ApiModelProperty("任务时间")
    @TableField("task_time")
    private Integer taskTime;

    @ApiModelProperty("是否删除，0-否，1-是")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建用户id")
    @TableField("create_id")
    private Integer createId;

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


}
