package com.aps.core.domain; import com.aps.common.core.annotation.Excel; import com.aps.common.core.web.domain.BaseEntity; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.springframework.data.annotation.Transient; import java.math.BigDecimal; import java.util.Date; /** * 气体管路产能负载统计对象 aps_gas_piping_route_stat * * @author hjy * @date 2025-04-24 */ @EqualsAndHashCode(callSuper = true) @Schema(description = "气体管路产能负载统计实体类") @Data public class ApsGasPipingRouteStat extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键id */ @Schema(description = "主键id", type = "Long") private String id; /** 工单号 */ @Excel(name = "工单号") @Schema(description = "工单号", type = "String") private String workOrderNo; /** 工序号 */ @Excel(name = "工序号") @Schema(description = "工序号", type = "String") private BigDecimal roadProcessNumber; /** 当前工序号 */ @Excel(name = "当前工序号") @Schema(description = "当前工序号", type = "String") private BigDecimal currentProcessNumber; /** 生产数量 */ @Excel(name = "生产数量") @Schema(description = "生产数量", type = "BigDecimal") private BigDecimal productionQuantity; /** 标准工时 */ @Excel(name = "标准工时") @Schema(description = "标准工时", type = "BigDecimal") private BigDecimal standardTime; /** 工序总工时 */ @Excel(name = "工序总工时") @Schema(description = "工序总工时", type = "BigDecimal") private BigDecimal processTotalTime; /** 计划开工日 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "计划开工日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @Schema(description = "计划开工日", type = "Date") private Date processPlanStartDay; /** 设计工时 */ @Excel(name = "设计工时") @Schema(description = "设计工时", type = "BigDecimal") private BigDecimal designTimes; /** 删除标志(0代表存在 2代表删除) */ @Schema(description = "删除标志", type = "String") private String delFlag; /** 工序名称 */ @Excel(name = "工序名称") @Schema(description = "工序名称", type = "String") private String processName; /** 料号 */ @Excel(name = "料号") @Schema(description = "料号", type = "String") private String itemNumber; /** 标准用量 */ @Excel(name = "标准用量") @Schema(description = "标准用量", type = "BigDecimal") private BigDecimal standardDosage; /** 工序总用量 */ @Excel(name = "工序总用量") @Schema(description = "工序总用量", type = "BigDecimal") private BigDecimal processTotalDosage; /** 设计产能 */ @Excel(name = "设计产能") @Schema(description = "设计产能", type = "BigDecimal") private BigDecimal designCapacity; /** 专业 */ @Excel(name = "专业") @Schema(description = "专业", type = "String") private String major; /** 年 */ @Excel(name = "年") @Schema(description = "年", type = "String") private String planStartYear; /** 月 */ @Excel(name = "月") @Schema(description = "月", type = "String") private String planStartMonth; /** 日 */ @Excel(name = "日") @Schema(description = "日", type = "String") private String planStartDay; /** 计划完成日 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "计划完成日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @Schema(description = "计划完成日", type = "Date") private Date processPlanEndDay; /** 订单计划完成日 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "订单计划完成日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @Schema(description = "订单计划完成日", type = "Date") private Date orderPlanEndDay; /** 警告 */ @Excel(name = "警告") @Schema(description = "警告", type = "Boolean") private Boolean warning; /** 工厂 */ @Excel(name = "工厂") @Schema(description = "工厂", type = "String") private String plant; /** 车间 */ @Excel(name = "车间") @Schema(description = "车间", type = "String") private String workshop; /** 批次号 */ @Excel(name = "批次号") @Schema(description = "批次号", type = "String") private String batchNumber; @Transient private String searchStartDate; @Transient private String searchEndDate; @Transient private String searchType; private Integer num; private BigDecimal routeProcessNumber; @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("workOrderNo", getWorkOrderNo()) .append("roadProcessNumber", getRoadProcessNumber()) .append("currentProcessNumber", getCurrentProcessNumber()) .append("productionQuantity", getProductionQuantity()) .append("standardTime", getStandardTime()) .append("processTotalTime", getProcessTotalTime()) .append("processPlanStartDay", getProcessPlanStartDay()) .append("designTimes", getDesignTimes()) .append("delFlag", getDelFlag()) .append("createBy", getCreateBy()) .append("processName", getProcessName()) .append("createTime", getCreateTime()) .toString(); } }