package com.cpop.oam.business.bo;

import com.cpop.core.annontation.StringArrayConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-04 16:41
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Task进度对象", description = "Task进度对象")
public class TaskProgressBo {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空")
    @ApiModelProperty(value = "主键",required = true)
    private String id;

    /**
     * 任务进度(0:开发文档;1:原型涉及;2:UI涉及;3:前端开发;4:后端开发)
     */
    @NotNull(message = "任务进度不能为空")
    @ApiModelProperty(value = "任务进度(0:开发文档;1:原型涉及;2:UI涉及;3:前端开发;4:后端开发)",required = true)
    @StringArrayConvert
    private String taskProgress;
}
