package org.jeecg.modules.eam.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@Data
|
@TableName("mom_eam_predictive_work_order")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
public class PredictiveWorkOrder extends JeecgEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 专业保养工单号
|
*/
|
@Excel(name = "预测性维护工单号", width = 15)
|
@ApiModelProperty(value = "预测性维护工单号")
|
private String num;
|
|
/**
|
* 实际开始时间
|
*/
|
@Excel(name = "实际开始时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "实际开始时间")
|
private Date actualStartTime;
|
/**
|
* 实际结束时间
|
*/
|
@Excel(name = "实际结束时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "实际结束时间")
|
private Date actualEndTime;
|
/**
|
* 保养人
|
*/
|
@Excel(name = "保养人", width = 15)
|
@ApiModelProperty(value = "保养人")
|
private String maintenanceUserId;
|
/**
|
* 计划开始时间
|
*/
|
@Excel(name = "计划开始时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "计划开始时间")
|
private Date planStartTime;
|
/**
|
* 计划结束时间
|
*/
|
@Excel(name = "计划结束时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "计划结束时间")
|
private Date planEndTime;
|
/**
|
* 领取人id
|
*/
|
@Excel(name = "领取人id", width = 15)
|
@ApiModelProperty(value = "领取人id")
|
private String recipientUserId;
|
|
/**
|
* 删除状态(0-正常,1-已删除)
|
*/
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
|
@TableLogic
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
/**
|
* 状态
|
*/
|
@Excel(name = "状态", width = 15)
|
@ApiModelProperty(value = "状态")
|
private String status = CommonConstant.STATUS_1;
|
/**
|
* 备用字段1
|
*/
|
@Excel(name = "备用字段1", width = 15)
|
@ApiModelProperty(value = "备用字段1")
|
private String maintenanceOrderUda1;
|
/**
|
* 备用字段2
|
*/
|
@Excel(name = "备用字段2", width = 15)
|
@ApiModelProperty(value = "备用字段2")
|
private String maintenanceOrderUda2;
|
/**
|
* 备用字段3
|
*/
|
@Excel(name = "备用字段3", width = 15)
|
@ApiModelProperty(value = "备用字段3")
|
private String maintenanceOrderUda3;
|
/**
|
* 备用字段4
|
*/
|
@Excel(name = "备用字段4", width = 15)
|
@ApiModelProperty(value = "备用字段4")
|
private String maintenanceOrderUda4;
|
/**
|
* 备用字段5
|
*/
|
@Excel(name = "备用字段5", width = 15)
|
@ApiModelProperty(value = "备用字段5")
|
private String maintenanceOrderUda5;
|
/**
|
* 创建类型(1手动创建,2自动创建)
|
*/
|
@Excel(name = "创建类型(1手动创建,2自动创建)", width = 15)
|
@ApiModelProperty(value = "创建类型(1手动创建,2自动创建)")
|
private String createType;
|
|
@Excel(name = "维护方案ID", width = 15)
|
@ApiModelProperty(value = "维护方案ID")
|
private String workPlanId;
|
|
@Excel(name = "设备ID", width = 36)
|
@ApiModelProperty(value = "设备ID")
|
private String equipmentId;
|
|
private String itemId;
|
|
}
|