package com.cpop.oam.business.bo;

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

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-05 17:53
 */
@Data
@Accessors(chain = true)
@Schema(description = "TaskArchivingPagBo")
public class TaskArchivingPagBo {

    /**
     * 主体
     */
    @Schema(description ="主体")
    private String subject;

    /**
     * 任务内容
     */
    @Schema(description ="任务内容")
    private String taskContent;

    /**
     * 是否已归档
     */
    @NotNull(message = "不能为空")
    @Schema(description = "任务内容",requiredMode = Schema.RequiredMode.REQUIRED)
    Boolean isFinish;
}
