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;
import java.io.Serializable;

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

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

    /**
     * 任务项(0:待开发;1:待测试:2:待部署;3:已归档)
     */
    @NotNull(message = "任务项不能为空")
    @ApiModelProperty(value = "任务项(0:待开发;1:待测试:2:待部署;3:已归档;-1:逾期)",required = true)
    private Integer taskItem;

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