package cn.stylefeng.guns.modular.bs.bomInfo.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; /** *
* bom信息 *
* * @author * @since 2022-10-24 */ @TableName("bs_bom_info") public class BomInfo implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 物料编号 */ @TableField("material_code") private String materialCode; /** * 物料名称 */ @TableField("material_name") private String materialName; /** * 产品编号 */ @TableField("product_code") private String productCode; /** * 产品名称 */ @TableField("product_name") private String productName; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 工位名称 */ @TableField("location_name") private String locationName; /** * 工位编号 */ @TableField("loading_code") private String loadingCode; public String getLoadingCode() { return loadingCode; } public void setLoadingCode(String loadingCode) { this.loadingCode = loadingCode; } public String getLoadingName() { return loadingName; } public void setLoadingName(String loadingName) { this.loadingName = loadingName; } /** * 工位名称 */ @TableField("loading_name") private String loadingName; /** * 追溯类型 */ @TableField("traceability_type") private String traceabilityType; /** * 数量 */ @TableField("quantity") private Long quantity; /** * 备注 */ @TableField("remarks") private String remarks; /** * 备注 */ @TableField("line_code") private String lineCode; public String getLineCode() { return lineCode; } public void setLineCode(String lineCode) { this.lineCode = lineCode; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getMaterialCode() { return materialCode; } public void setMaterialCode(String materialCode) { this.materialCode = materialCode; } public String getMaterialName() { return materialName; } public void setMaterialName(String materialName) { this.materialName = materialName; } public String getProductCode() { return productCode; } public void setProductCode(String productCode) { this.productCode = productCode; } public String getProductName() { return productName; } public void setProductName(String productName) { this.productName = productName; } public String getLocationCode() { return locationCode; } public void setLocationCode(String locationCode) { this.locationCode = locationCode; } public String getLocationName() { return locationName; } public void setLocationName(String locationName) { this.locationName = locationName; } public String getTraceabilityType() { return traceabilityType; } public void setTraceabilityType(String traceabilityType) { this.traceabilityType = traceabilityType; } public Long getQuantity() { return quantity; } public void setQuantity(Long quantity) { this.quantity = quantity; } public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } @Override public String toString() { return "BomInfo{" + "id=" + id + ", materialCode=" + materialCode + ", materialName=" + materialName + ", productCode=" + productCode + ", productName=" + productName + ", locationCode=" + locationCode + ", locationName=" + locationName + ", traceabilityType=" + traceabilityType + ", quantity=" + quantity + ", remarks=" + remarks + "}"; } }