package com.cpop.oam.business.bo;

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;


/**
 * Description:
 * date: 2023/5/29 14:56
 *
 * @Author ST
 */
@Data
@Accessors(chain = true)
@Schema(description = "Task项对象")
public class TaskItemBo {

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

    /**
     * 任务项(0:待开发;1:待测试:2:待部署;3:已归档)
     */
    @NotNull(message = "任务项不能为空")
    @Schema(description = "任务项(0:待开发;1:待测试:2:待部署;3:已归档;-1:逾期)",requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer taskItem;

    /**
     * 测试转部署文件路径
     */
    @Schema(description = "测试转部署文件路径")
    private String testToFinishUrl;
}
