package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.cpop.core.annontation.StringArrayConvert;

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

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

    /**
     * 品牌id
     */
    @NotBlank(message = "品牌不能为空")
    @ApiModelProperty(value = "品牌id", required = true)
    private String brandId;

    /**
     * 校区id
     */
    @NotBlank(message = "校区不能为空")
    @ApiModelProperty(value = "校区id", required = true)
    private String storeId;

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

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

}
