package cn.stylefeng.guns.modular.sc.serialNumbersConf.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-03-25 */ @TableName("sc_serial_numbers_conf") public class SerialNumbersConf implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 年份 */ @TableField("years") private String years; /** * 序列号 */ @TableField("serial_number") private String serialNumber; /** * 长度 */ @TableField("lengths") private String lengths; /** * 状态(启用、禁用) */ @TableField("state") private String state; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 创建用户 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private String createUser; /** * 更改时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; /** * 更改用户 */ @TableField(value = "update_user", fill = FieldFill.UPDATE) private String updateUser; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getYears() { return years; } public void setYears(String years) { this.years = years; } public String getSerialNumber() { return serialNumber; } public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } public String getLengths() { return lengths; } public void setLengths(String lengths) { this.lengths = lengths; } public String getState() { return state; } public void setState(String state) { this.state = state; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreateUser() { return createUser; } public void setCreateUser(String createUser) { this.createUser = createUser; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdateUser() { return updateUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } @Override public String toString() { return "SerialNumbersConf{" + "id=" + id + ", years=" + years + ", serialNumber=" + serialNumber + ", lengths=" + lengths + ", state=" + state + ", createTime=" + createTime + ", createUser=" + createUser + ", updateTime=" + updateTime + ", updateUser=" + updateUser + "}"; } }