package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

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

    /**
     * 主体
     */
    @ApiModelProperty("主体")
    private String subject;

    /**
     * 任务内容
     */
    @ApiModelProperty("任务内容")
    private String taskContent;

    /**
     * 是否已归档
     */
    @NotNull(message = "不能为空")
    @ApiModelProperty(value = "任务内容",required = true)
    Boolean isFinish;
}
