package com.cpop.oam.business.bo;

import com.cpop.core.annontation.StringArrayConvert;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-10 11:56
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "DataImportBo对象")
public class DataImportBo {

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

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

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

    /**
     * 导入文件地址
     */
    @NotBlank(message = "不能为空")
    @ApiModelProperty(value = "导入文件地址")
    private String fileUrl;

    /**
     * 是否清空
     */
    @ApiModelProperty(value = "是否清空")
    private Boolean isClear;

}
