package com.zcloud.safetyDutyList.dto.tasklist;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskDetailEditCmd implements Serializable {
    @ApiModelProperty(value = "任务详情UUID", required = true)
    @NotEmpty(message = "任务详情ID不能为空")
    private String taskDetailId;

    @ApiModelProperty(value = "执行内容")
    private String executeContent;

    @ApiModelProperty(value = "反馈周期类型：1-每月 2-季度 3-半年 4-年", required = true)
    @NotNull(message = "反馈周期不能为空")
    private Integer feedbackCycleType;

    @ApiModelProperty(value = "任务分值")
    private BigDecimal taskScore;
}
