package cn.stylefeng.guns.modular.qc.badReasonConf.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-11 */ @TableName("qc_bad_reason_conf") public class BadReasonConf implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 车间编码 */ @TableField("workshop_code") private String workshopCode; /** * 产线编号 */ @TableField("production_line") private String productionLine; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 设备编号 */ @TableField("equipment_no") private String equipmentNo; /** * 不良类型编码 */ @TableField("type_code") private String typeCode; /** * 不良类型名称 */ @TableField("type_name") private String typeName; /** * 不良原因编码 */ @TableField("bad_code") private String badCode; /** * 不良原因 */ @TableField("bad_desc") private String badDesc; /** * 状态(1启用,0禁用) */ @TableField("status") private String status; /** * 创建用户 */ @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 getWorkshopCode() { return workshopCode; } public void setWorkshopCode(String workshopCode) { this.workshopCode = workshopCode; } public String getProductionLine() { return productionLine; } public void setProductionLine(String productionLine) { this.productionLine = productionLine; } public String getLocationCode() { return locationCode; } public void setLocationCode(String locationCode) { this.locationCode = locationCode; } public String getEquipmentNo() { return equipmentNo; } public void setEquipmentNo(String equipmentNo) { this.equipmentNo = equipmentNo; } public String getTypeCode() { return typeCode; } public void setTypeCode(String typeCode) { this.typeCode = typeCode; } public String getTypeName() { return typeName; } public void setTypeName(String typeName) { this.typeName = typeName; } public String getBadCode() { return badCode; } public void setBadCode(String badCode) { this.badCode = badCode; } public String getBadDesc() { return badDesc; } public void setBadDesc(String badDesc) { this.badDesc = badDesc; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } 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 "BadReasonConf{" + "id=" + id + ", workshopCode=" + workshopCode + ", productionLine=" + productionLine + ", locationCode=" + locationCode + ", equipmentNo=" + equipmentNo + ", typeCode=" + typeCode + ", typeName=" + typeName + ", badCode=" + badCode + ", badDesc=" + badDesc + ", status=" + status + ", createUser=" + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser + ", updateTime=" + updateTime + "}"; } }