package cn.stylefeng.guns.modular.bs.materialInfo.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 物料信息
|
* </p>
|
*
|
* @author zrm
|
* @since 2023-02-15
|
*/
|
@TableName("bs_material_info")
|
public class MaterialInfo implements Serializable {
|
|
private static final long serialVersionUID=1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 物料编号
|
*/
|
@TableField("material_code")
|
private String materialCode;
|
|
/**
|
* 物料名称
|
*/
|
@TableField("material_name")
|
private String materialName;
|
|
/**
|
* 图号
|
*/
|
@TableField("drawing_no")
|
private String drawingNo;
|
|
/**
|
* 规格
|
*/
|
@TableField("material_specs")
|
private String materialSpecs;
|
|
/**
|
* 单位
|
*/
|
@TableField("unit")
|
private String unit;
|
|
/**
|
* 材料
|
*/
|
@TableField("material_science")
|
private String materialScience;
|
|
@TableField("material_type")
|
private String materialType;
|
|
/**
|
* 属性
|
*/
|
@TableField("material_attribute")
|
private String materialAttribute;
|
|
/**
|
* 是否采购件
|
*/
|
@TableField("is_purchase")
|
private String isPurchase;
|
|
/**
|
* 供应商
|
*/
|
@TableField("supplier")
|
private String supplier;
|
|
/**
|
* 预留字段1
|
*/
|
@TableField("spare_field_1")
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
@TableField("spare_field_2")
|
private String spareField2;
|
|
/**
|
* 备注
|
*/
|
@TableField("remarks")
|
private String remarks;
|
|
/**
|
* 创建用户
|
*/
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
private String createUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 更改用户
|
*/
|
@TableField(value = "update_user", fill = FieldFill.UPDATE)
|
private String updateUser;
|
|
/**
|
* 更改时间
|
*/
|
@TableField(value = "update_time", fill = FieldFill.UPDATE)
|
private Date updateTime;
|
|
@TableField("erp_spec")
|
private String erpSpec;
|
|
|
public String getMaterialType() {
|
return materialType;
|
}
|
|
public void setMaterialType(String materialType) {
|
this.materialType = materialType;
|
}
|
|
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 getDrawingNo() {
|
return drawingNo;
|
}
|
|
public void setDrawingNo(String drawingNo) {
|
this.drawingNo = drawingNo;
|
}
|
|
public String getMaterialSpecs() {
|
return materialSpecs;
|
}
|
|
public void setMaterialSpecs(String materialSpecs) {
|
this.materialSpecs = materialSpecs;
|
}
|
|
public String getUnit() {
|
return unit;
|
}
|
|
public void setUnit(String unit) {
|
this.unit = unit;
|
}
|
|
public String getMaterialScience() {
|
return materialScience;
|
}
|
|
public void setMaterialScience(String materialScience) {
|
this.materialScience = materialScience;
|
}
|
|
public String getMaterialAttribute() {
|
return materialAttribute;
|
}
|
|
public void setMaterialAttribute(String materialAttribute) {
|
this.materialAttribute = materialAttribute;
|
}
|
|
public String getIsPurchase() {
|
return isPurchase;
|
}
|
|
public void setIsPurchase(String isPurchase) {
|
this.isPurchase = isPurchase;
|
}
|
|
public String getSupplier() {
|
return supplier;
|
}
|
|
public void setSupplier(String supplier) {
|
this.supplier = supplier;
|
}
|
|
public String getSpareField1() {
|
return spareField1;
|
}
|
|
public void setSpareField1(String spareField1) {
|
this.spareField1 = spareField1;
|
}
|
|
public String getSpareField2() {
|
return spareField2;
|
}
|
|
public void setSpareField2(String spareField2) {
|
this.spareField2 = spareField2;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
public String getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(String createUser) {
|
this.createUser = createUser;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getErpSpec() {
|
return erpSpec;
|
}
|
|
public void setErpSpec(String erpSpec) {
|
this.erpSpec = erpSpec;
|
}
|
|
@Override
|
public String toString() {
|
return "MaterialInfo{" +
|
"id=" + id +
|
", materialCode=" + materialCode +
|
", materialName=" + materialName +
|
", drawingNo=" + drawingNo +
|
", materialSpecs=" + materialSpecs +
|
", unit=" + unit +
|
", materialScience=" + materialScience +
|
", materialAttribute=" + materialAttribute +
|
", isPurchase=" + isPurchase +
|
", supplier=" + supplier +
|
", spareField1=" + spareField1 +
|
", spareField2=" + spareField2 +
|
", remarks=" + remarks +
|
", createUser=" + createUser +
|
", createTime=" + createTime +
|
", updateUser=" + updateUser +
|
", updateTime=" + updateTime +
|
", erpSpec=" + erpSpec +
|
"}";
|
}
|
}
|