package com.zcloud.safetyDutyList.persistence.dataobject.tasklist;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 任务详情数据对象（纯模板定义）
 * <p>
 * 对应数据库表safety_accountability_task_detail，
 * 仅包含任务模板定义字段，执行相关字段已迁移至TaskExecutionDO。
 */
@Data
@TableName("safety_accountability_task_detail")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TaskDetailDO extends BaseDO {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "明细UUID（业务主键）")
    private String taskDetailId;
    @ApiModelProperty(value = "任务清单ID")
    private String taskListId;
    @ApiModelProperty(value = "执行内容")
    private String executeContent;
    @ApiModelProperty(value = "反馈周期类型：1-每月 2-季度 3-半年 4-年")
    private Integer feedbackCycleType;
    @ApiModelProperty(value = "任务分值")
    private BigDecimal taskScore;
    @ApiModelProperty(value = "任务状态：1-进行中 2-已完成 3-已关闭")
    private Integer taskStatus;

    @ApiModelProperty(value = "清单名称")
    private String taskListName;
    @ApiModelProperty(value = "任务级别")
    private Integer taskLevel;
    @ApiModelProperty(value = "责任岗位")
    private String responsibilityPost;
}
