package cn.ey.biz.module.system.controller.engagement.task.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@ApiModel("项目管理 - 任务生成规则 Request VO")
@Data
public class EngagementTaskRuleTaskTypeReqVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "任务类型")
    @NotNull(message = "任务类型不能为空",groups = {EngagementTaskRuleCreateReqVO.Save.class})
    private String taskType;

    @ApiModelProperty(value = "日期类型")
    private String dateType;

    @ApiModelProperty(value = "输入框触发数值")
    private Integer warningValue;

    @ApiModelProperty(value = "逾期天数")
    @Size(max = 16, message = "逾期天数不能超过16个字符")
    private String overdueDay;
}
