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


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;

@Schema(description = "管理后台 - 删除订单包裹  Request VO")
@Data
@ToString(callSuper = true)
public class PackReqVO {

    @Schema(description = "生产单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "生产单号为空，请重新删除配件")
    private Long orderId;


    @Schema(description = "包裹ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "包裹信息为空，请重新删除配件")
    private Long packageId;


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


    @Schema(description = "是否是其他类型的包裹", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "包裹类型为空，请重新删除配件")
    private Boolean isOther;


}
