package cn.stylefeng.guns.modular.em.equipmentStatus.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;
|
|
/**
|
* <p>
|
* 设备状态
|
* </p>
|
*
|
* @author cl
|
* @since 2022-10-28
|
*/
|
@TableName("em_equipment_status")
|
public class EquipmentStatus implements Serializable {
|
|
private static final long serialVersionUID=1L;
|
|
/**
|
* ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 设备编号
|
*/
|
@TableField("equipment_no")
|
private String equipmentNo;
|
|
/**
|
* 设备名称
|
*/
|
@TableField("equipment_name")
|
private String equipmentName;
|
|
/**
|
* 车间编号
|
*/
|
@TableField("workshop_code")
|
private String workshopCode;
|
|
/**
|
* 产线编号
|
*/
|
@TableField("production_line_code")
|
private String productionLineCode;
|
|
/**
|
* 工位编号
|
*/
|
@TableField("location_code")
|
private String locationCode;
|
|
/**
|
* 设备状态(1运转2待机3故障)
|
*/
|
@TableField("status")
|
private String status;
|
|
/**
|
* 预留字段1
|
*/
|
@TableField("spare_field_1")
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
@TableField("spare_field_2")
|
private String spareField2;
|
|
/**
|
* 备注
|
*/
|
@TableField("remarks")
|
private String remarks;
|
|
/**
|
* 更新时间
|
*/
|
@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 getEquipmentNo() {
|
return equipmentNo;
|
}
|
|
public void setEquipmentNo(String equipmentNo) {
|
this.equipmentNo = equipmentNo;
|
}
|
|
public String getEquipmentName() {
|
return equipmentName;
|
}
|
|
public void setEquipmentName(String equipmentName) {
|
this.equipmentName = equipmentName;
|
}
|
|
public String getWorkshopCode() {
|
return workshopCode;
|
}
|
|
public void setWorkshopCode(String workshopCode) {
|
this.workshopCode = workshopCode;
|
}
|
|
public String getProductionLineCode() {
|
return productionLineCode;
|
}
|
|
public void setProductionLineCode(String productionLineCode) {
|
this.productionLineCode = productionLineCode;
|
}
|
|
public String getLocationCode() {
|
return locationCode;
|
}
|
|
public void setLocationCode(String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
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 getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
@Override
|
public String toString() {
|
return "EquipmentStatus{" +
|
"id=" + id +
|
", equipmentNo=" + equipmentNo +
|
", equipmentName=" + equipmentName +
|
", workshopCode=" + workshopCode +
|
", productionLineCode=" + productionLineCode +
|
", locationCode=" + locationCode +
|
", status=" + status +
|
", spareField1=" + spareField1 +
|
", spareField2=" + spareField2 +
|
", remarks=" + remarks +
|
", updateTime=" + updateTime +
|
"}";
|
}
|
}
|