package cn.stylefeng.guns.modular.zsx.bs.material.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 ruimin
|
* @since 2023-08-23
|
*/
|
@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("material_view")
|
private String materialView;
|
|
/**
|
* 种类
|
*/
|
@TableField("type_z")
|
private String typeZ;
|
|
/**
|
* 类型
|
*/
|
@TableField("type_l")
|
private String typeL;
|
|
/**
|
* 单位
|
*/
|
@TableField("unit")
|
private String unit;
|
|
/**
|
* 版本
|
*/
|
@TableField("matter_version")
|
private String matterVersion;
|
|
/**
|
* 备注
|
*/
|
@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 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 getMaterialView() {
|
return materialView;
|
}
|
|
public void setMaterialView(String materialView) {
|
this.materialView = materialView;
|
}
|
|
public String getTypeZ() {
|
return typeZ;
|
}
|
|
public void setTypeZ(String typeZ) {
|
this.typeZ = typeZ;
|
}
|
|
public String getTypeL() {
|
return typeL;
|
}
|
|
public void setTypeL(String typeL) {
|
this.typeL = typeL;
|
}
|
|
public String getUnit() {
|
return unit;
|
}
|
|
public void setUnit(String unit) {
|
this.unit = unit;
|
}
|
|
public String getMatterVersion() {
|
return matterVersion;
|
}
|
|
public void setMatterVersion(String matterVersion) {
|
this.matterVersion = matterVersion;
|
}
|
|
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 +
|
", materialView=" + materialView +
|
", typeZ=" + typeZ +
|
", typeL=" + typeL +
|
", unit=" + unit +
|
", matterVersion=" + matterVersion +
|
", remarks=" + remarks +
|
", createUser=" + createUser +
|
", createTime=" + createTime +
|
", updateUser=" + updateUser +
|
", updateTime=" + updateTime +
|
", erpSpec=" + erpSpec +
|
"}";
|
}
|
}
|