package com.aps.core.domain; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.aps.common.core.annotation.Excel; import com.aps.common.core.web.domain.BaseEntity; /** * 工序级产能数据管理对象 aps_process_capacity_management * * @author dingYang * @date 2025-04-21 */ public class ApsProcessCapacityManagement extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ private String id; /** 料号 */ @Excel(name = "料号") private String itemNumber; /** 产能类型 */ @Excel(name = "产能类型") private String capacityType; /** 工序序号 */ @Excel(name = "工序序号") private String processNumber; /** 工序名称 */ @Excel(name = "工序名称") private String processName; /** 工艺路线ID */ @Excel(name = "工艺路线ID") private String processRouteId; /** 工时 */ @Excel(name = "工时") private BigDecimal workTime; /** 生效日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "生效日期", width = 30, dateFormat = "yyyy-MM-dd") private Date effectiveDate; /** 失效日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd") private Date expiringDate; /** 集成日期 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "集成日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date integrationDate; public void setId(String id) { this.id = id; } public String getId() { return id; } public void setItemNumber(String itemNumber) { this.itemNumber = itemNumber; } public String getItemNumber() { return itemNumber; } public void setCapacityType(String capacityType) { this.capacityType = capacityType; } public String getCapacityType() { return capacityType; } public void setProcessNumber(String processNumber) { this.processNumber = processNumber; } public String getProcessNumber() { return processNumber; } public void setProcessName(String processName) { this.processName = processName; } public String getProcessName() { return processName; } public void setProcessRouteId(String processRouteId) { this.processRouteId = processRouteId; } public String getProcessRouteId() { return processRouteId; } public void setWorkTime(BigDecimal workTime) { this.workTime = workTime; } public BigDecimal getWorkTime() { return workTime; } public void setEffectiveDate(Date effectiveDate) { this.effectiveDate = effectiveDate; } public Date getEffectiveDate() { return effectiveDate; } public void setExpiringDate(Date expiringDate) { this.expiringDate = expiringDate; } public Date getExpiringDate() { return expiringDate; } public void setIntegrationDate(Date integrationDate) { this.integrationDate = integrationDate; } public Date getIntegrationDate() { return integrationDate; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("itemNumber", getItemNumber()) .append("capacityType", getCapacityType()) .append("processNumber", getProcessNumber()) .append("processName", getProcessName()) .append("processRouteId", getProcessRouteId()) .append("workTime", getWorkTime()) .append("effectiveDate", getEffectiveDate()) .append("expiringDate", getExpiringDate()) .append("integrationDate", getIntegrationDate()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .toString(); } }