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

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-09
 */
@Data
@Schema(description = "待回收机具-回收确认")
public class RecycleSubmitDTO {


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


    /**
     * 送回方式 0送货上门 1邮寄
     */
    @Schema(description = "送回方式 0送货上门 1邮寄")
    @NotNull(message = "提货方式不能为空")
    private Integer getMode;


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


    /**
     * 快递单号
     */
    @Schema(description = "快递单号")
    @NotBlank(message = "快递单号不能为空")
    private String trackNo;


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

}
