package cn.stylefeng.guns.modular.zsx.bs.productBomInfo.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; /** *

* 基础BOM *

* * @author ruimin * @since 2023-08-24 */ @TableName("bs_product_bom_info") public class ProductBomInfo implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * BOM编码 */ @TableField("bom_code") private String bomCode; /** * BOM名称 */ @TableField("bom_name") private String bomName; /** * 产品编码 */ @TableField("product_code") private String productCode; /** * 产品名称 */ @TableField("product_name") private String productName; /** * 版本 */ @TableField("version") private String version; /** * 状态(字典) */ @TableField("status") private String status; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 备注 */ @TableField("remark") private String remark; /** * 创建用户 */ @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; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getBomCode() { return bomCode; } public void setBomCode(String bomCode) { this.bomCode = bomCode; } public String getBomName() { return bomName; } public void setBomName(String bomName) { this.bomName = bomName; } 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 getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } 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 getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } 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; } @Override public String toString() { return "ProductBomInfo{" + "id=" + id + ", bomCode=" + bomCode + ", bomName=" + bomName + ", productCode=" + productCode + ", productName=" + productName + ", version=" + version + ", status=" + status + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", remark=" + remark + ", createUser=" + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser + ", updateTime=" + updateTime + "}"; } }