package cn.stylefeng.guns.modular.am.materialShortageAlarm.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.TableField; import java.io.Serializable; /** *
* 缺料报警 *
* * @author zrm * @since 2023-02-15 */ @TableName("am_material_shortage_alarm") public class MaterialShortageAlarm implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 工单编号 */ @TableField("work_order_no") private String workOrderNo; /** * 产品编号 */ @TableField("product_code") private String productCode; /** * 产线编号 */ @TableField("production_line") private String productionLine; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 设备编号 */ @TableField("equipment_no") private String equipmentNo; /** * 物料编号 */ @TableField("material_code") private String materialCode; /** * 数量 */ @TableField("quantity") private String quantity; /** * 不良类型 */ @TableField("bad_type") private String badType; /** * 不良描述 */ @TableField("bad_desc") private String badDesc; /** * 缺料时间 */ @TableField("call_time") private Date callTime; /** * 上料时间 */ @TableField("feeding_time") private Date feedingTime; /** * 是否处理 */ @TableField("whether_to_handle") private String whetherToHandle; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 备注 */ @TableField("remarks") private String remarks; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getWorkOrderNo() { return workOrderNo; } public void setWorkOrderNo(String workOrderNo) { this.workOrderNo = workOrderNo; } public String getProductCode() { return productCode; } public void setProductCode(String productCode) { this.productCode = productCode; } 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 getMaterialCode() { return materialCode; } public void setMaterialCode(String materialCode) { this.materialCode = materialCode; } public String getQuantity() { return quantity; } public void setQuantity(String quantity) { this.quantity = quantity; } public String getBadType() { return badType; } public void setBadType(String badType) { this.badType = badType; } public String getBadDesc() { return badDesc; } public void setBadDesc(String badDesc) { this.badDesc = badDesc; } public Date getCallTime() { return callTime; } public void setCallTime(Date callTime) { this.callTime = callTime; } public Date getFeedingTime() { return feedingTime; } public void setFeedingTime(Date feedingTime) { this.feedingTime = feedingTime; } public String getWhetherToHandle() { return whetherToHandle; } public void setWhetherToHandle(String whetherToHandle) { this.whetherToHandle = whetherToHandle; } 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 getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } @Override public String toString() { return "MaterialShortageAlarm{" + "id=" + id + ", workOrderNo=" + workOrderNo + ", productCode=" + productCode + ", productionLine=" + productionLine + ", locationCode=" + locationCode + ", equipmentNo=" + equipmentNo + ", materialCode=" + materialCode + ", quantity=" + quantity + ", badType=" + badType + ", badDesc=" + badDesc + ", callTime=" + callTime + ", feedingTime=" + feedingTime + ", whetherToHandle=" + whetherToHandle + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", remarks=" + remarks + "}"; } }