| | |
| | | package org.dromara.eims.domain.vo; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.alibaba.excel.annotation.write.style.ColumnWidth; |
| | | 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.EimsEqu; |
| | |
| | | @Data |
| | | @ExcelIgnoreUnannotated |
| | | @AutoMapper(target = EimsEqu.class) |
| | | public class EimsEquVo implements Serializable { |
| | | public class EimsEquVo extends BaseEntity implements Serializable { |
| | | |
| | | @Serial |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | /** |
| | | * |
| | | */ |
| | | @ExcelProperty(value = "") |
| | | private Long equId; |
| | | |
| | | /** |
| | | * 设备名称 |
| | | */ |
| | | @ExcelProperty(value = "设备名称") |
| | | private String equName; |
| | | |
| | | /** |
| | | * 规格型号 |
| | | */ |
| | | @ExcelProperty(value = "规格型号") |
| | | private String modelNo; |
| | | |
| | | /** |
| | | * 制造厂家 |
| | | */ |
| | | @ExcelProperty(value = "制造厂家") |
| | | private String madeIn; |
| | | |
| | | |
| | | /** |
| | | * 销售商 |
| | | */ |
| | | @ExcelProperty(value = "销售商") |
| | | private String seller; |
| | | |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @ExcelProperty(value = "单位") |
| | | private String unit; |
| | | |
| | | /** |
| | | * 资产编号 |
| | | */ |
| | | @ExcelProperty(value = "资产编号") |
| | | private String assetNo; |
| | | |
| | | /** |
| | | * 所在场所 |
| | | */ |
| | | @ExcelProperty(value = "所在场所") |
| | | private String location; |
| | | |
| | | /** |
| | | * 管理者 |
| | | */ |
| | | @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "respPerson") |
| | | @ExcelProperty(value = "管理者") |
| | | private String respPersonName; |
| | | |
| | | /** |
| | | * 购买日期 |
| | | */ |
| | | @ExcelProperty(value = "购买日期") |
| | | @ColumnWidth(24) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date purchaseDate; |
| | | |
| | | /** |
| | | * 实际验收日期 |
| | | */ |
| | | @ExcelProperty(value = "验收日期") |
| | | @ColumnWidth(24) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date actualAcceptDate; |
| | | |
| | | /** |
| | | * 经手人 |
| | | */ |
| | | @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "handleUser") |
| | | @ExcelProperty(value = "经手人") |
| | | private String handleUserName; |
| | | |
| | | /** |
| | | * 采购人 |
| | | */ |
| | | @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "purchaseUser") |
| | | @ExcelProperty(value = "采购人") |
| | | private String purchaseUserName; |
| | | |
| | | /** |
| | | * 额定功率 |
| | | */ |
| | | @ExcelProperty(value = "功率") |
| | | private String ratedPower; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ExcelProperty(value = "联系电话") |
| | | private String contactPhone; |
| | | |
| | | /** |
| | | * 使用状态 |
| | | */ |
| | | @ExcelProperty(value = "使用状态", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(dictType = "sys_equ_status") |
| | | private String status; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ExcelProperty(value = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 附件 |
| | | */ |
| | | @ExcelProperty(value = "附件") |
| | | private String attachments; |
| | | |
| | | |
| | | /** |
| | | * 设备编码 |
| | | */ |
| | | @ExcelProperty(value = "设备编码") |
| | | //@ExcelProperty(value = "设备编码") |
| | | private String equCode; |
| | | |
| | | |
| | |
| | | /** |
| | | * 设备类型名称 |
| | | */ |
| | | @ExcelProperty(value = "设备类型") |
| | | //@ExcelProperty(value = "设备类型") |
| | | @Translation(type = TransConstant.EQU_YPE_ID_TO_NAME, mapper = "equTypeId") |
| | | private String equTypeName; |
| | | |
| | | /** |
| | | * 资产编号 |
| | | */ |
| | | @ExcelProperty(value = "资产编号") |
| | | private String assetNo; |
| | | |
| | | /** |
| | | * 设备名称 |
| | | |
| | | */ |
| | | @ExcelProperty(value = "设备名称") |
| | | private String equName; |
| | | |
| | | /** |
| | | * 型号 |
| | | */ |
| | | @ExcelProperty(value = "型号") |
| | | private String modelNo; |
| | | |
| | | /** |
| | | * 制造商 |
| | | */ |
| | | @ExcelProperty(value = "制造商") |
| | | private String madeIn; |
| | | |
| | | /** |
| | | * 额度功率 |
| | | */ |
| | | @ExcelProperty(value = "额度功率") |
| | | private String ratedPower; |
| | | |
| | | /** |
| | | * 铭牌信息 |
| | | */ |
| | | @ExcelProperty(value = "铭牌信息") |
| | | //@ExcelProperty(value = "铭牌信息") |
| | | private String plateInfo; |
| | | |
| | | /** |
| | | * 采购日期 |
| | | */ |
| | | @ExcelProperty(value = "采购日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date purchaseDate; |
| | | |
| | | /** |
| | | * 状态 |
| | | */ |
| | | @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(dictType = "sys_equ_status") |
| | | private String status; |
| | | |
| | | /** |
| | | * 所在场所 |
| | | */ |
| | | @ExcelProperty(value = "所在场所") |
| | | private String location; |
| | | |
| | | /** |
| | | * 使用部门(关联id) |
| | | */ |
| | | @ExcelProperty(value = "使用部门", converter = ExcelDictConvert.class) |
| | | //@ExcelProperty(value = "使用部门", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(readConverterExp = "关=联id") |
| | | private Long deptUsed; |
| | | /** |
| | |
| | | /** |
| | | * 责任人(关联id) |
| | | */ |
| | | @ExcelProperty(value = "责任人(关联id)") |
| | | //@ExcelProperty(value = "责任人(关联id)") |
| | | private Long respPerson; |
| | | /** |
| | | * 部门名 |
| | | */ |
| | | @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "respPerson") |
| | | private String respPersonName; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ExcelProperty(value = "联系电话") |
| | | private String contactPhone; |
| | | |
| | | /** |
| | | * 正式使用日期 |
| | | */ |
| | | @ExcelProperty(value = "正式使用日期") |
| | | //@ExcelProperty(value = "正式使用日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date deployDate; |
| | | |
| | | /** |
| | | * 开始试用日期 |
| | | */ |
| | | @ExcelProperty(value = "开始试用日期") |
| | | //@ExcelProperty(value = "开始试用日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date trialDate; |
| | | |
| | | /** |
| | | * 计划验收日期 |
| | | */ |
| | | @ExcelProperty(value = "计划验收日期") |
| | | //@ExcelProperty(value = "计划验收日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date planAcceptDate; |
| | | |
| | | /** |
| | | * 实际验收日期 |
| | | */ |
| | | @ExcelProperty(value = "实际验收日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date actualAcceptDate; |
| | | |
| | | /** |
| | | * 导入状态(字典) |
| | | */ |
| | | @ExcelProperty(value = "导入状态", converter = ExcelDictConvert.class) |
| | | //@ExcelProperty(value = "导入状态", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(readConverterExp = "字=典") |
| | | private String importStatus; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 盘点标志 |
| | | */ |
| | | @ExcelProperty(value = "盘点标志") |
| | | //@ExcelProperty(value = "盘点标志") |
| | | private String inventoryFlag; |
| | | |
| | | /** |
| | | * 上次盘点日期 |
| | | */ |
| | | @ExcelProperty(value = "上次盘点日期") |
| | | //@ExcelProperty(value = "上次盘点日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date inventoryDate; |
| | | |
| | | /** |
| | | * 使用年限 |
| | | */ |
| | | @ExcelProperty(value = "使用年限") |
| | | //@ExcelProperty(value = "使用年限") |
| | | private Long serviceLife; |
| | | |
| | | |
| | | /** |
| | | * 经手人 |
| | | */ |
| | | //@ExcelProperty(value = "经手人") |
| | | private Long handleUser; |
| | | |
| | | /** |
| | | * 采购人 |
| | | */ |
| | | //@ExcelProperty(value = "采购人") |
| | | private Long purchaseUser; |
| | | |
| | | /** |
| | | * 资料 |
| | | */ |
| | | @ExcelProperty(value = "资料") |
| | | private String profile; |
| | | |
| | | |
| | | |
| | | |
| | | } |