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;

/**
 * Task迭代对象
 * @author DB
 * @since 2023-12-01 09:43:08
 * @version 1.0.0
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Task迭代对象")
public class TaskIterationBo {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private String id;

    /**
     * 任务主体
     */
    @NotBlank(message = "任务主体不能为空")
    @ApiModelProperty(value = "任务主体", required = true)
    private String subject;

    /**任务内容 */
    @NotBlank(message = "任务内容不能为空")
    @ApiModelProperty(value = "任务内容", required = true)
    private String taskContent;

    /**
     * 附件地址
     */
    @ApiModelProperty("附件地址")
    private String attachmentUrl;
}
