package com.cpop.oam.business.bo;

import com.cpop.core.anno.StringArrayConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;


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

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空")
    @Schema(description = "主键",requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

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