package com.cpop.oam.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

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

    /**
     * 主键
     */
    @Schema(description ="主键")
    private String id;

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

    /**任务内容 */
    @NotBlank(message = "任务内容不能为空")
    @Schema(description = "任务内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String taskContent;

    /**
     * 附件地址
     */
    @Schema(description ="附件地址")
    private String attachmentUrl;
}
