package com.cf.imes.module.executor.controller.admin.order.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Schema(description = "标签对应的订单包裹数据源信息")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LabelOrderPackData {


    @Schema(description = "订单id")
    private Long orderNo;


    @Schema(description = "包裹列表")
    private List<PackageInfo> packageInfos;


    @Schema(description = "包裹数量")
    private Integer packNum;


    @Data
    public static class PackageInfo {
        @Schema(description = "包裹号-包裹编号")
        private String packageNo;

        @Schema(description = "包裹ID")
        private Long packageId;

    }


}
