package cn.stylefeng.guns.modular.gm.greaseManage.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; /** *
* 油脂管理 *
* * @author ruimin * @since 2023-12-11 */ @TableName("gm_grease_manage") public class GreaseManage implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 扫码条码 */ @TableField("barcode") private String barcode; /** * 工位 */ @TableField("location_code") private String locationCode; /** * 到期时间 */ @TableField("dua_date") private String duaDate; /** * 状态 */ @TableField("state") private String state; @TableField(exist = false) private String daysRemaining; /** * 更新用户 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private String createUser; /** * 更新时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 备注 */ @TableField("remarks") private String remarks; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; public String getDaysRemaining() { return daysRemaining; } public void setDaysRemaining(String daysRemaining) { this.daysRemaining = daysRemaining; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getBarcode() { return barcode; } public void setBarcode(String barcode) { this.barcode = barcode; } public String getLocationCode() { return locationCode; } public void setLocationCode(String locationCode) { this.locationCode = locationCode; } public String getDuaDate() { return duaDate; } public void setDuaDate(String duaDate) { this.duaDate = duaDate; } public String getState() { return state; } public void setState(String state) { this.state = state; } 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 getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } 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; } @Override public String toString() { return "GreaseManage{" + "id=" + id + ", barcode=" + barcode + ", locationCode=" + locationCode + ", duaDate=" + duaDate + ", state=" + state + ", createUser=" + createUser + ", createTime=" + createTime + ", remarks=" + remarks + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + "}"; } }