package cn.stylefeng.guns.modular.em.equipmentMaintainPlan.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 ruimin
|
* @since 2023-02-20
|
*/
|
@TableName("em_equipment_maintain_plan")
|
public class EquipmentMaintainPlan 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("plan_no")
|
private String planNo;
|
|
/**
|
* 计划名称
|
*/
|
@TableField("plan_name")
|
private String planName;
|
|
/**
|
* 计划类型(单次计划、固定时间循环)
|
*/
|
@TableField("plan_type")
|
private String planType;
|
|
/**
|
* 保养类别(日常保养、一级保养、二级保养、三级保养)
|
*/
|
@TableField("maintain_type")
|
private String maintainType;
|
|
/**
|
* 间隔时间
|
*/
|
@TableField("interval_time")
|
private String intervalTime;
|
|
/**
|
* 间隔单位
|
*/
|
@TableField("interval_unit")
|
private String intervalUnit;
|
|
/**
|
* 状态(启用、禁用)
|
*/
|
@TableField("state")
|
private String state;
|
|
/**
|
* 预留字段1
|
*/
|
@TableField("spare_field_1")
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
@TableField("spare_field_2")
|
private String spareField2;
|
|
/**
|
* 备注
|
*/
|
@TableField("remarks")
|
private String remarks;
|
|
/**
|
* 保养人
|
*/
|
@TableField("maintain_user")
|
private String maintainUser;
|
|
/**
|
* 创建用户
|
*/
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
private String createUser;
|
|
/**
|
* 更改用户
|
*/
|
@TableField(value = "update_user", fill = FieldFill.UPDATE)
|
private String updateUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 更改时间
|
*/
|
@TableField(value = "update_time", fill = FieldFill.UPDATE)
|
private Date updateTime;
|
|
/**
|
* 开始保养时间
|
*/
|
@TableField("start_time")
|
private Date startTime;
|
|
/**
|
* 结束保养时间
|
*/
|
@TableField("end_time")
|
private Date endTime;
|
|
|
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 getPlanNo() {
|
return planNo;
|
}
|
|
public void setPlanNo(String planNo) {
|
this.planNo = planNo;
|
}
|
|
public String getPlanName() {
|
return planName;
|
}
|
|
public String getMaintainUser() {
|
return maintainUser;
|
}
|
|
public void setMaintainUser(String maintainUser) {
|
this.maintainUser = maintainUser;
|
}
|
|
public void setPlanName(String planName) {
|
this.planName = planName;
|
}
|
|
public String getPlanType() {
|
return planType;
|
}
|
|
public void setPlanType(String planType) {
|
this.planType = planType;
|
}
|
|
public String getMaintainType() {
|
return maintainType;
|
}
|
|
public void setMaintainType(String maintainType) {
|
this.maintainType = maintainType;
|
}
|
|
public String getIntervalTime() {
|
return intervalTime;
|
}
|
|
public void setIntervalTime(String intervalTime) {
|
this.intervalTime = intervalTime;
|
}
|
|
public String getIntervalUnit() {
|
return intervalUnit;
|
}
|
|
public void setIntervalUnit(String intervalUnit) {
|
this.intervalUnit = intervalUnit;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
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 String getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(String createUser) {
|
this.createUser = createUser;
|
}
|
|
public String getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
@Override
|
public String toString() {
|
return "EquipmentMaintainPlan{" +
|
"id=" + id +
|
", equipmentNo=" + equipmentNo +
|
", equipmentName=" + equipmentName +
|
", planNo=" + planNo +
|
", planName=" + planName +
|
", planType=" + planType +
|
", maintainType=" + maintainType +
|
", intervalTime=" + intervalTime +
|
", intervalUnit=" + intervalUnit +
|
", state=" + state +
|
", spareField1=" + spareField1 +
|
", spareField2=" + spareField2 +
|
", remarks=" + remarks +
|
", createUser=" + createUser +
|
", updateUser=" + updateUser +
|
", createTime=" + createTime +
|
", updateTime=" + updateTime +
|
", startTime=" + startTime +
|
", endTime=" + endTime +
|
"}";
|
}
|
}
|