package com.aps.job.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 org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.math.BigDecimal; import java.util.Date; /** * 标准工艺路线Header对象 aps_standard_process_route_header_job * * @author hjy * @date 2025-05-09 */ @Schema(description = "标准工艺路线Header实体类") public class ApsStandardProcessRouteHeaderJob extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ @Schema(description = "$column.columnComment") private Long id; /** 工艺路线ID */ @Excel(name = "工艺路线ID") @Schema(description = "工艺路线ID") private String routeId; /** 工艺路线版本 */ @Excel(name = "工艺路线版本") @Schema(description = "工艺路线版本") private String version; /** 生效日期 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "生效日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @Schema(description = "生效日期") private Date startDate; /** 失效日期 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @Schema(description = "失效日期") private Date endDate; /** 适用工厂 */ @Excel(name = "适用工厂") @Schema(description = "适用工厂") private String orgCode; /** 是否删除,0有效 1删除 */ @Schema(description = "是否删除,0有效 1删除") private String delFlag; /** 物料号 */ @Excel(name = "物料号") @Schema(description = "物料号") private String itemCode; /** 图号 */ @Excel(name = "图号") @Schema(description = "图号") private String drawingNumber; /** 工序总工时 */ @Excel(name = "工序总工时") @Schema(description = "工序总工时") private BigDecimal processAllTime; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setRouteId(String routeId) { this.routeId = routeId; } public String getRouteId() { return routeId; } public void setVersion(String version) { this.version = version; } public String getVersion() { return version; } public void setStartDate(Date startDate) { this.startDate = startDate; } public Date getStartDate() { return startDate; } public void setEndDate(Date endDate) { this.endDate = endDate; } public Date getEndDate() { return endDate; } public void setOrgCode(String orgCode) { this.orgCode = orgCode; } public String getOrgCode() { return orgCode; } public void setDelFlag(String delFlag) { this.delFlag = delFlag; } public String getDelFlag() { return delFlag; } public void setItemCode(String itemCode) { this.itemCode = itemCode; } public String getItemCode() { return itemCode; } public void setDrawingNumber(String drawingNumber) { this.drawingNumber = drawingNumber; } public String getDrawingNumber() { return drawingNumber; } public void setProcessAllTime(BigDecimal processAllTime) { this.processAllTime = processAllTime; } public BigDecimal getProcessAllTime() { return processAllTime; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("routeId", getRouteId()) .append("version", getVersion()) .append("startDate", getStartDate()) .append("endDate", getEndDate()) .append("orgCode", getOrgCode()) .append("delFlag", getDelFlag()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("itemCode", getItemCode()) .append("drawingNumber", getDrawingNumber()) .append("processAllTime", getProcessAllTime()) .toString(); } }