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 org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 物料管理对象 aps_material_management
|
*
|
* @author dingYang
|
* @date 2025-04-17
|
*/
|
public class ApsMaterialManagement extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** id */
|
private Long id;
|
|
/** 料号 */
|
@Excel(name = "料号")
|
private String itemNumber;
|
|
/** 物料描述 */
|
@Excel(name = "物料描述")
|
private String materialDescription;
|
|
/** 物料状态 */
|
@Excel(name = "物料状态")
|
private String materialStatus;
|
|
/** 物料类型 */
|
@Excel(name = "物料类型")
|
private String materialType;
|
|
/** 专业归属 */
|
@Excel(name = "专业归属")
|
private String professionalAffiliation;
|
|
/** 图号 */
|
@Excel(name = "图号")
|
private String drawingNo;
|
|
/** 版本 */
|
@Excel(name = "版本")
|
private String versionNumber;
|
|
/** 最早可提前生产天数 */
|
@Excel(name = "最早可提前生产天数")
|
private BigDecimal advanceProductionDays;
|
|
/** 拆分批量 */
|
@Excel(name = "拆分批量")
|
private Long splitBatch;
|
|
/** 是否自制 */
|
@Excel(name = "是否自制")
|
private String selfMade;
|
|
/** 适用工厂 */
|
@Excel(name = "适用工厂")
|
private String applicableFactories;
|
|
/** 适用车间 */
|
@Excel(name = "适用车间")
|
private String applicableWorkshop;
|
|
/** 生效日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "生效日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date effectiveDate;
|
|
/** 失效日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
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(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
|
public void setItemNumber(String itemNumber)
|
{
|
this.itemNumber = itemNumber;
|
}
|
|
public String getItemNumber()
|
{
|
return itemNumber;
|
}
|
|
public void setMaterialDescription(String materialDescription)
|
{
|
this.materialDescription = materialDescription;
|
}
|
|
public String getMaterialDescription()
|
{
|
return materialDescription;
|
}
|
|
public void setMaterialStatus(String materialStatus)
|
{
|
this.materialStatus = materialStatus;
|
}
|
|
public String getMaterialStatus()
|
{
|
return materialStatus;
|
}
|
|
public void setMaterialType(String materialType)
|
{
|
this.materialType = materialType;
|
}
|
|
public String getMaterialType()
|
{
|
return materialType;
|
}
|
|
public void setProfessionalAffiliation(String professionalAffiliation)
|
{
|
this.professionalAffiliation = professionalAffiliation;
|
}
|
|
public String getProfessionalAffiliation()
|
{
|
return professionalAffiliation;
|
}
|
|
public void setDrawingNo(String drawingNo)
|
{
|
this.drawingNo = drawingNo;
|
}
|
|
public String getDrawingNo()
|
{
|
return drawingNo;
|
}
|
|
public void setVersionNumber(String versionNumber)
|
{
|
this.versionNumber = versionNumber;
|
}
|
|
public String getVersionNumber()
|
{
|
return versionNumber;
|
}
|
|
public void setAdvanceProductionDays(BigDecimal advanceProductionDays)
|
{
|
this.advanceProductionDays = advanceProductionDays;
|
}
|
|
public BigDecimal getAdvanceProductionDays()
|
{
|
return advanceProductionDays;
|
}
|
|
public void setSplitBatch(Long splitBatch)
|
{
|
this.splitBatch = splitBatch;
|
}
|
|
public Long getSplitBatch()
|
{
|
return splitBatch;
|
}
|
|
public void setSelfMade(String selfMade)
|
{
|
this.selfMade = selfMade;
|
}
|
|
public String getSelfMade()
|
{
|
return selfMade;
|
}
|
|
public void setApplicableFactories(String applicableFactories)
|
{
|
this.applicableFactories = applicableFactories;
|
}
|
|
public String getApplicableFactories()
|
{
|
return applicableFactories;
|
}
|
|
public void setApplicableWorkshop(String applicableWorkshop)
|
{
|
this.applicableWorkshop = applicableWorkshop;
|
}
|
|
public String getApplicableWorkshop()
|
{
|
return applicableWorkshop;
|
}
|
|
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("materialDescription", getMaterialDescription())
|
.append("materialStatus", getMaterialStatus())
|
.append("materialType", getMaterialType())
|
.append("professionalAffiliation", getProfessionalAffiliation())
|
.append("drawingNo", getDrawingNo())
|
.append("versionNumber", getVersionNumber())
|
.append("advanceProductionDays", getAdvanceProductionDays())
|
.append("splitBatch", getSplitBatch())
|
.append("selfMade", getSelfMade())
|
.append("applicableFactories", getApplicableFactories())
|
.append("applicableWorkshop", getApplicableWorkshop())
|
.append("effectiveDate", getEffectiveDate())
|
.append("expiringDate", getExpiringDate())
|
.append("integrationDate", getIntegrationDate())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|