package org.dromara.eims.domain.vo;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.eims.domain.EimsMaintOrder;
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
import org.dromara.common.excel.convert.ExcelDictConvert;
|
import io.github.linpeilie.annotations.AutoMapper;
|
import lombok.Data;
|
import org.dromara.eims.domain.bo.EimsSpareBo;
|
|
import java.io.Serial;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
|
/**
|
* 保养工单视图对象 eims_maint_order
|
*
|
* @author zhuguifei
|
* @date 2025-03-06
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsMaintOrder.class)
|
public class EimsMaintOrderVo extends BaseEntity implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
private Long id;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
private Long equId;
|
|
@Translation(type = TransConstant.EQU_ID_TO_NAME, mapper = "equId")
|
private String equName;
|
|
/**
|
* 设备资产编号
|
*/
|
private String assetNo;
|
|
/**
|
* 保养项名称
|
*/
|
private String maintName;
|
|
/**
|
* 计划表冗余-保养类型(字典)
|
*/
|
@ExcelProperty(value = "计划表冗余-保养类型", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "字=典")
|
private String maintType;
|
|
/**
|
* 计划表冗余-保养周期
|
*/
|
@ExcelProperty(value = "计划表冗余-保养周期")
|
private Long maintCycle;
|
|
/**
|
* 计划表冗余-保养周期单位(字典)
|
*/
|
@ExcelProperty(value = "计划表冗余-保养周期单位", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "字=典")
|
private String maintCycleUnit;
|
|
/**
|
* 计划表冗余- 保养规则(字典)保养时间计算:1-按周期 2-按上次保养时间
|
*/
|
@ExcelProperty(value = "计划表冗余- 保养规则", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "字=典")
|
private String maintRule;
|
|
/**
|
* 计划表冗余-保养人
|
*/
|
@ExcelProperty(value = "计划表冗余-保养人")
|
private Long maintUser;
|
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "maintUser")
|
private String maintUserName;
|
|
/**
|
* 验证人
|
*/
|
private Long verifyUser;
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "verifyUser")
|
private String verifyUserName;
|
|
/**
|
* 计划表冗余-保养部门
|
*/
|
@ExcelProperty(value = "计划表冗余-保养部门")
|
private Long maintDept;
|
|
/**
|
* 保养单号
|
*/
|
@ExcelProperty(value = "保养单号")
|
private String maintCode;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
private String status;
|
|
/**
|
* 保养计划时间
|
*/
|
@ExcelProperty(value = "保养计划时间")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date planTime;
|
|
/**
|
* 工作描述
|
*/
|
private String maintDesc;
|
|
/**
|
* 保养开始时间
|
*/
|
@ExcelProperty(value = "保养开始时间")
|
private Date startTime;
|
|
/**
|
* 保养结束时间
|
*/
|
@ExcelProperty(value = "保养结束时间")
|
private Date endTime;
|
|
/**
|
* 计划id
|
*/
|
@ExcelProperty(value = "计划id")
|
private Long planId;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
/**
|
* 保养方式(0-检查,1-保养,2-维修)
|
*/
|
private String maintFun;
|
|
/**
|
* 维修说明
|
*/
|
private String repairDesc;
|
|
private List<EimsSpareVo> spareParts;
|
|
private String picture;
|
|
|
}
|