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;


/**
 * OAM-任务-需求表Bo
 *
 * @author DB.lost
 * @since 2023-05-30
 */
@Data
@Accessors(chain = true)
@Schema(description = "OAM-任务-需求表")
public class TaskDemandBo {

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

    /**
     * 品牌id
     */
    @NotBlank(message = "品牌不能为空")
    @Schema(description = "品牌id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String brandId;

    /**
     * 校区id
     */
    @NotBlank(message = "校区不能为空")
    @Schema(description = "校区id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String storeId;

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

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

}
