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


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

import java.time.LocalDateTime;


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

    @Schema(description = "主键-生产单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11")
    private Long orderId;

    @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 Long 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 = "工序ID", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private Long processID;


    @Schema(description = "生产单工序步骤ID", requiredMode = Schema.RequiredMode.REQUIRED,example = "123")
    private Long processStepId;


//    @Schema(description = "生产单工序明细ID", requiredMode = Schema.RequiredMode.REQUIRED,example = "123")
//    private Long processStepItemId;

    @Schema(description = "工序类型", requiredMode = Schema.RequiredMode.REQUIRED,example = "123")
    private Long processType;

    @Schema(description = "加工项名称", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String name;

    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String stepName;

    @Schema(description = "加工人", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private String manager;

    @Schema(description = "加工状态", requiredMode = Schema.RequiredMode.REQUIRED,example = "ABCD")
    private Boolean processStatus;

    @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;



}
