package com.jcdm.main.bs.productBomChild.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.jcdm.common.annotation.Excel;
|
import com.jcdm.common.core.domain.BaseEntity;
|
|
/**
|
* 基础BOM子信息对象 bs_product_bom_child_info
|
*
|
* @author yyt
|
* @date 2023-12-11
|
*/
|
public class BsProductBomChildInfo extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键id */
|
private Long id;
|
|
/** 工序编码 */
|
@Excel(name = "工序编码")
|
private String opCode;
|
|
/** 工序名称 */
|
@Excel(name = "工序名称")
|
private String opName;
|
|
/** 物料编码 */
|
@Excel(name = "物料编码")
|
private String materialCode;
|
|
/** 物料名称 */
|
@Excel(name = "物料名称")
|
private String materialName;
|
|
/** 单耗 */
|
@Excel(name = "单耗")
|
private String costQty;
|
|
/** 单位 */
|
@Excel(name = "单位")
|
private String unit;
|
|
/** 预留字段1 */
|
@Excel(name = "预留字段1")
|
private String spareField1;
|
|
/** 预留字段2 */
|
@Excel(name = "预留字段2")
|
private String spareField2;
|
|
/** 预留字段3 */
|
@Excel(name = "预留字段3")
|
private String spareField3;
|
|
/** BOM编码 */
|
@Excel(name = "BOM编码")
|
private String bomCode;
|
|
/** BOM主表ID */
|
private Long bomInfoId;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setOpCode(String opCode)
|
{
|
this.opCode = opCode;
|
}
|
|
public String getOpCode()
|
{
|
return opCode;
|
}
|
public void setOpName(String opName)
|
{
|
this.opName = opName;
|
}
|
|
public String getOpName()
|
{
|
return opName;
|
}
|
public void setMaterialCode(String materialCode)
|
{
|
this.materialCode = materialCode;
|
}
|
|
public String getMaterialCode()
|
{
|
return materialCode;
|
}
|
public void setMaterialName(String materialName)
|
{
|
this.materialName = materialName;
|
}
|
|
public String getMaterialName()
|
{
|
return materialName;
|
}
|
public void setCostQty(String costQty)
|
{
|
this.costQty = costQty;
|
}
|
|
public String getCostQty()
|
{
|
return costQty;
|
}
|
public void setUnit(String unit)
|
{
|
this.unit = unit;
|
}
|
|
public String getUnit()
|
{
|
return unit;
|
}
|
public void setSpareField1(String spareField1)
|
{
|
this.spareField1 = spareField1;
|
}
|
|
public String getSpareField1()
|
{
|
return spareField1;
|
}
|
public void setSpareField2(String spareField2)
|
{
|
this.spareField2 = spareField2;
|
}
|
|
public String getSpareField2()
|
{
|
return spareField2;
|
}
|
public void setSpareField3(String spareField3)
|
{
|
this.spareField3 = spareField3;
|
}
|
|
public String getSpareField3()
|
{
|
return spareField3;
|
}
|
public void setBomCode(String bomCode)
|
{
|
this.bomCode = bomCode;
|
}
|
|
public String getBomCode()
|
{
|
return bomCode;
|
}
|
public void setBomInfoId(Long bomInfoId)
|
{
|
this.bomInfoId = bomInfoId;
|
}
|
|
public Long getBomInfoId()
|
{
|
return bomInfoId;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("opCode", getOpCode())
|
.append("opName", getOpName())
|
.append("materialCode", getMaterialCode())
|
.append("materialName", getMaterialName())
|
.append("costQty", getCostQty())
|
.append("unit", getUnit())
|
.append("spareField1", getSpareField1())
|
.append("spareField2", getSpareField2())
|
.append("spareField3", getSpareField3())
|
.append("remark", getRemark())
|
.append("bomCode", getBomCode())
|
.append("bomInfoId", getBomInfoId())
|
.toString();
|
}
|
}
|