package com.cf.imes.module.executor.controller.admin.manage.pack.vo;


import com.cf.imes.module.executor.validation.manage.pack.PackTypeValid;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 包裹新增  Request VO")
@Data
@ToString(callSuper = true)
public class OrderPackReqVO {


    @Schema(description = "包裹ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long packId;


    @Schema(description = "生产单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "生产单号为空")
    private Long orderId;


    @Schema(description = "包裹编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String packNo;


    @Schema(description = "包裹类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @PackTypeValid
    private Integer packageType;


//    @Schema(description = "包裹状态", requiredMode = Schema.RequiredMode.REQUIRED)
//    private Long  packStatus;


    @Schema(description = "备注")
    private String  remark;


    @Schema(description = "新增的板件ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Long> addPlateIdList;


    @Schema(description = "移除的板件ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Long> deletePlateIdList;


    @Schema(description = "新增的配件包裹ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Long> addPartsIdList;



}
