package com.jcdm.main.bs.productBom.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_info * * @author yyt * @date 2023-12-11 */ public class BsProductBomInfo extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键id */ private Long id; /** BOM编码 */ @Excel(name = "BOM编码") private String bomCode; /** BOM名称 */ @Excel(name = "BOM名称") private String bomName; /** 产品编码 */ @Excel(name = "产品编码") private String productCode; /** 产品名称 */ @Excel(name = "产品名称") private String productName; /** 版本 */ @Excel(name = "版本") private String version; /** 状态(字典) */ @Excel(name = "状态(字典)") private String status; /** 预留字段1 */ @Excel(name = "预留字段1") private String spareField1; /** 预留字段2 */ @Excel(name = "预留字段2") private String spareField2; /** 创建用户 */ @Excel(name = "创建用户") private String createUser; /** 更改用户 */ @Excel(name = "更改用户") private String updateUser; /** 数据来源 */ @Excel(name = "数据来源") private String dataSource; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setBomCode(String bomCode) { this.bomCode = bomCode; } public String getBomCode() { return bomCode; } public void setBomName(String bomName) { this.bomName = bomName; } public String getBomName() { return bomName; } public void setProductCode(String productCode) { this.productCode = productCode; } public String getProductCode() { return productCode; } public void setProductName(String productName) { this.productName = productName; } public String getProductName() { return productName; } public void setVersion(String version) { this.version = version; } public String getVersion() { return version; } public void setStatus(String status) { this.status = status; } public String getStatus() { return status; } 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 setCreateUser(String createUser) { this.createUser = createUser; } public String getCreateUser() { return createUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } public String getUpdateUser() { return updateUser; } public void setDataSource(String dataSource) { this.dataSource = dataSource; } public String getDataSource() { return dataSource; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("bomCode", getBomCode()) .append("bomName", getBomName()) .append("productCode", getProductCode()) .append("productName", getProductName()) .append("version", getVersion()) .append("status", getStatus()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .append("remark", getRemark()) .append("createUser", getCreateUser()) .append("createTime", getCreateTime()) .append("updateUser", getUpdateUser()) .append("updateTime", getUpdateTime()) .append("dataSource", getDataSource()) .toString(); } }