huangjiayang
2025-05-15 dbcc9f8992c97b84aa6ae0a381c807ba6239ae2c
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlateProcessShopPlanStat.java
@@ -2,67 +2,161 @@
import com.aps.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Data
@Schema(description = "钣金统计大表")
public class ApsPlateProcessShopPlanStat implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /** 主键id */
    @Schema(description = "主键id", type = "String")
    private String id;
    /** 主件料号 */
    @Schema(description = "主件料号", type = "String")
    @Excel(name = "主件料号")
    private String mainPartNumber;
    /** 主件客户 */
    @Schema(description = "主件客户,来自ERP", type = "String")
    @Excel(name = "主件客户")
    private String customer;
    /** 主件订单交期 */
    @Schema(description = "主件订单交期,来自ERP", type = "String")
    @Excel(name = "主件订单交期")
    private BigInteger mainOrderDelivery;
    /** 业务类型 */
    @Schema(description = "业务类型", type = "String")
    @Excel(name = "业务类型")
    private String businessType;
    /** 番号 */
    @Schema(description = "需求追溯号,由APS产生", type = "String")
    @Excel(name = "番号")
    private String designation;
    /** 单据号 */
    @Schema(description = "单据号", type = "String")
    @Excel(name = "单据号")
    private String documentNumber;
    /** 需求分类 */
    @Schema(description = "需求分类", type = "String")
    @Excel(name = "需求分类")
    private String requirementType;
    /** 单据状态 */
    @Schema(description = "单据状态", type = "String")
    @Excel(name = "单据状态")
    private String documentStatus;
    /** 当前工序 */
    @Schema(description = "当前工序", type = "String")
    @Excel(name = "当前工序")
    private String workCenter;
    /** 料号 */
    @Excel(name = "料号")
    @Schema(description = "料号", type = "String")
    private String itemNumber;
    /** 图号 */
    @Schema(description = "图号", type = "String")
    @Excel(name = "图号")
    private String drawingNo;
    /** 版本号 */
    @Schema(description = "版本号", type = "String")
    @Excel(name = "版本号")
    private String versionNumber;
    /** 生产数量 */
    @Schema(description = "生产数量", type = "String")
    @Excel(name = "生产数量")
    private BigDecimal productionQuantity;
    /** 工单创建时间 */
    @Schema(description = "工单创建时间,来自ERP", type = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "工单创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date orderCreateTime;
    /** 工单审核时间 */
    @Schema(description = "工单审核时间,来自ERP", type = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "工单审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approveOn;
    /** 工单开工时间 */
    @Schema(description = "工单开工时间,来自ERP", type = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "工单开工时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startWorkDate;
    /** 再次确认完工时间 */
    @Schema(description = "再次确认完工时间,来自APS", type = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "再次确认完工时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date workOrderConfirmTime;
    /** 计划完工日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划完工日", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description = "计划完工日", type = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划完工日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planEndDay;
    /** 版本号 */
    @Schema(description = "生产工厂,来自ERP", type = "String")
    @Excel(name = "生产工厂")
    private String productionBase;
    /** 版本号 */
    @Schema(description = "齐套状况,来自ERP", type = "String")
    @Excel(name = "齐套状况")
    private String kittingCondition;
    /** 计划齐套时间 */
    @Schema(description = "计划齐套时间,来自ERP", type = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划齐套时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planKittingTime;
    /** 工序号 */
    @Excel(name = "工序号")
    private String processNumber;
    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;
    /** 下道工序所属部门 */
    @Excel(name = "下道工序所属部门")
    private String nextProcessDeparment;
    /** 当前工序状态 */
    @Excel(name = "当前工序状态")
    private String opStatus;
    /** 下一工序名称 */
    @Excel(name = "下一工序名称")
    private String nextOpName;
    /** 低阶码*/
    @Excel(name = "低阶码")
    private String lowOrderCode;
    private List<ApsPlateProcessShopStat> deptPlans=new ArrayList<>();
}