package com.jcdm.main.bs.material.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; /** * 物料信息对象 bs_material_info * * @author yyt * @date 2023-12-09 */ public class BsMaterialInfo extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键id */ private Long id; /** 物料编号 */ @Excel(name = "物料编号") private String materialCode; /** 物料名称 */ @Excel(name = "物料名称") private String materialName; /** 视图 */ @Excel(name = "视图") private String materialView; /** 种类 */ @Excel(name = "种类") private String typeZ; /** 类型 */ @Excel(name = "类型") private String typeL; /** 单位 */ @Excel(name = "单位") private String unit; /** 版本 */ @Excel(name = "版本") private String matterVersion; /** 备注 */ @Excel(name = "备注") private String remarks; /** 创建用户 */ @Excel(name = "创建用户") private String createUser; /** 更改用户 */ @Excel(name = "更改用户") private String updateUser; /** ERP规格 */ @Excel(name = "ERP规格") private String erpSpec; /** 数据来源 */ @Excel(name = "数据来源") private String dataSource; /** 版本 */ @Excel(name = "版本") private String version; /** 状态 */ @Excel(name = "状态") private String status; /** 厂商 */ @Excel(name = "厂商") private String supplier; public void setId(Long id) { this.id = id; } public Long getId() { return id; } 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 setMaterialView(String materialView) { this.materialView = materialView; } public String getMaterialView() { return materialView; } public void setTypeZ(String typeZ) { this.typeZ = typeZ; } public String getTypeZ() { return typeZ; } public void setTypeL(String typeL) { this.typeL = typeL; } public String getTypeL() { return typeL; } public void setUnit(String unit) { this.unit = unit; } public String getUnit() { return unit; } public void setMatterVersion(String matterVersion) { this.matterVersion = matterVersion; } public String getMatterVersion() { return matterVersion; } public void setRemarks(String remarks) { this.remarks = remarks; } public String getRemarks() { return remarks; } 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 setErpSpec(String erpSpec) { this.erpSpec = erpSpec; } public String getErpSpec() { return erpSpec; } public void setDataSource(String dataSource) { this.dataSource = dataSource; } public String getDataSource() { return dataSource; } 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 setSupplier(String supplier) { this.supplier = supplier; } public String getSupplier() { return supplier; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("materialCode", getMaterialCode()) .append("materialName", getMaterialName()) .append("materialView", getMaterialView()) .append("typeZ", getTypeZ()) .append("typeL", getTypeL()) .append("unit", getUnit()) .append("matterVersion", getMatterVersion()) .append("remarks", getRemarks()) .append("createUser", getCreateUser()) .append("createTime", getCreateTime()) .append("updateUser", getUpdateUser()) .append("updateTime", getUpdateTime()) .append("erpSpec", getErpSpec()) .append("dataSource", getDataSource()) .append("version", getVersion()) .append("status", getStatus()) .append("supplier", getSupplier()) .toString(); } }