package com.kxs.store.api.dto.kxsapp.storeAdvance;

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

import java.util.List;


/**
 * 小分仓-预发货到小分仓-dto
 *
 * @author 系统
 * @date 2024-01-10 11:43:17
 */
@Data
public class StoreAdvanceAddAdvanceDTO {

    /**
     * 品牌ID
     */
    @Schema(description = "品牌ID")
    @NotNull(message = "品牌不能为空")
    private Integer brandId;

    /**
     * 发货仓库ID
     */
    @Schema(description = "发货仓库ID")
    @NotNull(message = "发货仓库不能为空")
    private Integer warehouseId;

    /**
     * 用户编号
     */
    @Schema(description = "用户编号")
    @NotBlank(message = "用户编号不能为空")
    private String userCode;


    /**
     * 机具sn集合
     */
    @Schema(description = "机具sn集合")
    @NotEmpty(message = "机具不能为空")
    private List<String> snList;




}
