EquipmentRepairVO.java 9.6 KB
package com.skua.modules.equipment.vo;

import java.util.List;

import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.equipment.entity.EquipmentRepairChild;
import com.skua.modules.flow.core.entity.FlowEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author sonin
 * @date 2021/11/8 10:50
 */
@Data
public class EquipmentRepairVO extends FlowEntity {
	/**id*/
    @ApiModelProperty(value = "id")
	private java.lang.String id;
	/**设备id*/
	@Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
	private java.lang.String infoId;
	@ApiModelProperty(value = "设备名称")
	private java.lang.String equipmentName;
	@ApiModelProperty(value = "设备编码")
	private java.lang.String equipmentCode;
	@ApiModelProperty(value = "设备安装位置")
	private java.lang.String installPosition;
	@ApiModelProperty(value = "设备类型")
	private java.lang.String equipmentType;
	
	@ApiModelProperty(value = "机构ID")
	private java.lang.String departId;
	@ApiModelProperty(value = "机构名称")
	private java.lang.String departName;
	/**报修人*/
	@Excel(name = "报修人", width = 15)
    @ApiModelProperty(value = "报修人")
	private java.lang.String repairUser;
	/**报修时间*/
	@Excel(name = "报修时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报修时间")
	private java.util.Date repairDate;
	
	@ApiModelProperty(value = "报修开始时间")
	private java.lang.String repairStartDate;
	@ApiModelProperty(value = "报修结束时间")
	private java.lang.String repairEndDate;
	
	/**故障内容*/
	@Excel(name = "故障内容", width = 15)
    @ApiModelProperty(value = "故障内容")
	private java.lang.String faultContent;
	/**故障程度*/
	@Excel(name = "故障程度", width = 15)
    @ApiModelProperty(value = "故障程度")
	@Dict(dicCode = "fault_degree")
	private java.lang.String faultLevel;
	/**报修照片*/
	@Excel(name = "报修照片", width = 15)
    @ApiModelProperty(value = "报修照片")
	private java.lang.String faultPhoto;
	/**故障上报备注*/
	@Excel(name = "故障上报备注", width = 15)
    @ApiModelProperty(value = "故障上报备注")
	private java.lang.String faultRemark;
	/**接收时间*/
	@Excel(name = "接收时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "接收时间")
	private java.util.Date receiveTime;
	/**维修人*/
	@Excel(name = "维修人", width = 15)
    @ApiModelProperty(value = "维修人")
	private java.lang.String maintenanceUser;
	/**计划维修时间*/
	@Excel(name = "计划维修时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划维修时间")
	private java.util.Date planMaintenanceTime;
	/**计划完成时间*/
	@Excel(name = "计划完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划完成时间")
	private java.util.Date planCompleteTime;
	/**维修方式*/
	@Excel(name = "维修方式", width = 15)
    @ApiModelProperty(value = "维修方式")
	private java.lang.String maintenanceType;
	/**试运行时间【小时】*/
	@Excel(name = "试运行时间【小时】", width = 15)
    @ApiModelProperty(value = "试运行时间【小时】")
	private java.lang.String testRunTime;
	/**是否停机*/
	@Excel(name = "是否停机", width = 15)
    @ApiModelProperty(value = "是否停机")
	private java.lang.String isStop;
	/**实际维修开始时间*/
	@Excel(name = "实际维修开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实际维修开始时间")
	private java.util.Date realityMaintenanceStartTime;
	/**实际维修结束时间*/
	@Excel(name = "实际维修结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实际维修结束时间")
	private java.util.Date realityMaintenanceEndTime;
	/**维修用时*/
	@Excel(name = "维修用时", width = 15)
    @ApiModelProperty(value = "维修用时")
	private java.lang.Double costHour;
	/**故障原因*/
	@Excel(name = "故障原因", width = 15)
    @ApiModelProperty(value = "故障原因")
	private java.lang.String faultReason;
	/**故障类型*/
	@Excel(name = "故障类型", width = 15)
    @ApiModelProperty(value = "故障类型")
	@Dict(dicCode = "fault_type")
	private java.lang.String faultType;
	/**故障库关联id*/
	@Excel(name = "故障库关联id", width = 15)
    @ApiModelProperty(value = "故障库关联id")
	@Dict(dictTable = "equipment_repair_fault_library",dicCode = "id",dicText = "treatment_measures")
	private java.lang.String faultLibraryId;
	/**维修后图片*/
	@Excel(name = "维修后图片", width = 15)
    @ApiModelProperty(value = "维修后图片")
	private java.lang.String maintenancePhoto;
	@ApiModelProperty(value = "委外原因")
	private java.lang.String outsourceReason;
	/**委外单位*/
	@Excel(name = "委外单位", width = 15)
    @ApiModelProperty(value = "委外单位")
	private java.lang.String outsourceCompany;
	/**委外负责人*/
	@Excel(name = "委外负责人", width = 15)
    @ApiModelProperty(value = "委外负责人")
	private java.lang.String outsourceUsername;
	/**委外负责人联系方式*/
	@Excel(name = "委外负责人联系方式", width = 15)
    @ApiModelProperty(value = "委外负责人联系方式")
	private java.lang.String outsourcePhone;
	/**委外开始时间*/
	@Excel(name = "委外开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "委外开始时间")
	private java.util.Date outsourceStartTime;
	/**委外结束时间*/
	@Excel(name = "委外结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "委外结束时间")
	private java.util.Date outsourceEndTime;
	/**委外备注*/
	@Excel(name = "委外备注", width = 15)
    @ApiModelProperty(value = "委外备注")
	private java.lang.String outsourceRemark;
	/**委外附件*/
	@Excel(name = "委外附件", width = 15)
    @ApiModelProperty(value = "委外附件")
	private java.lang.String outsourceFilepath;
	/**验收人员*/
	@Excel(name = "验收人员", width = 15)
    @ApiModelProperty(value = "验收人员")
	private java.lang.String checkUser;
	/**验收时间*/
	@Excel(name = "验收时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "验收时间")
	private java.util.Date checkTime;
	/**验收结论*/
	@Excel(name = "验收结论", width = 15)
    @ApiModelProperty(value = "验收结论")
	private java.lang.String checkResult;
	/**办结标记,yes办结*/
	@Excel(name = "办结标记,yes办结", width = 15)
    @ApiModelProperty(value = "办结标记,yes办结")
	@Dict(dicCode = "equipment_repair_state")
	private java.lang.String finishFlag;
	/**流程定义id*/
	@Excel(name = "流程定义id", width = 15)
    @ApiModelProperty(value = "流程定义id")
	private java.lang.String processDefinitionId;
	/**流程实例id*/
	@Excel(name = "流程实例id", width = 15)
    @ApiModelProperty(value = "流程实例id")
	private java.lang.String processInstanceId;
	/**创建人id*/
	@Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改人id*/
	@Excel(name = "修改人id", width = 15)
    @ApiModelProperty(value = "修改人id")
	private java.lang.String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
	private java.lang.String createDept;
	/**所属公司*/
	@Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
	private java.lang.String createCmpy;
	/**删除标识,0:正常,1:删除*/
	@Excel(name = "删除标识,0:正常,1:删除", width = 15)
    @ApiModelProperty(value = "删除标识,0:正常,1:删除")
	private java.lang.Integer delFlag;
	@ApiModelProperty(value = "备品备件明细")
	private List<EquipmentRepairChild> equipmentRepairChildList;
}