|
@@ -1,9 +1,10 @@
|
|
|
package com.usky.iot.service.vo;
|
|
|
|
|
|
|
|
|
+import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
-import com.usky.common.core.annotation.Excel;
|
|
|
import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
@@ -16,6 +17,7 @@ import java.time.LocalDateTime;
|
|
|
* @since 2023-07-27
|
|
|
*/
|
|
|
@Data
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
public class FacilityImportVo{
|
|
|
/**
|
|
|
* 设施编号
|
|
@@ -62,8 +64,8 @@ public class FacilityImportVo{
|
|
|
/**
|
|
|
* 设施状态
|
|
|
*/
|
|
|
- @Excel(name = "设施状态", readConverterExp = "正常=0,维修=1,关闭=2")
|
|
|
- private Integer status;
|
|
|
+ @Excel(name = "设施状态",replace = {"正常_0", "维修_1", "关闭_2"})
|
|
|
+ private Integer facilityStatus;
|
|
|
|
|
|
/**
|
|
|
* 经度(必填)
|