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


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

import java.time.LocalDateTime;
import java.util.List;


@Schema(description = "管理后台 - 生产单表 order_{N} Response VO")
@Data
public class PackRespVO {


    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7788")
    private Long id;


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


    @Schema(description = "自定义单号", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String customOrderNo;


    @Schema(description = "经销商", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String dealer;


    @Schema(description = "交付日期", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private LocalDateTime deliveryDate;


    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED,example = "0")
    private Boolean status;


    @Schema(description = "客户", requiredMode = Schema.RequiredMode.REQUIRED,example = "张三")
    private String customer;


    @Schema(description = "客户地址", requiredMode = Schema.RequiredMode.REQUIRED,example = "AABB")
    private String address;


    @Schema(description = "客户电话", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String phoneNumber;


    @Schema(description = "业务员", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String salesman;


    @Schema(description = "拆单员", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String splitter;


    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;



    @Schema(description = "已打包数-包裹数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long packCount;


    @Schema(description = "已打包片数-已处理量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long packPieceCount;


    @Schema(description = "总片数-板件总数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long totalPieceCount;



    @Schema(description = "待处理量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long pendingNum;



//    @Schema(description = "生产单对应的板件信息", requiredMode = Schema.RequiredMode.REQUIRED)
//    List<PlateDetailsRespVO> plateDetailsRespVO;


}
