|
@@ -8,6 +8,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
|
|
+import java.time.LocalDate;
|
|
|
|
|
+import java.time.LocalDateTime;
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
@@ -84,7 +86,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "采购日期")
|
|
@ApiModelProperty(value = "采购日期")
|
|
|
@ExcelProperty(value = "采购日期")
|
|
@ExcelProperty(value = "采购日期")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date purchaseDate;
|
|
|
|
|
|
|
+ private LocalDate purchaseDate;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 采购价格
|
|
* 采购价格
|
|
@@ -99,7 +101,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "安装启用日期")
|
|
@ApiModelProperty(value = "安装启用日期")
|
|
|
@ExcelProperty(value = "安装启用日期")
|
|
@ExcelProperty(value = "安装启用日期")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date installationDate;
|
|
|
|
|
|
|
+ private LocalDate installationDate;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 安装位置
|
|
* 安装位置
|
|
@@ -128,7 +130,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "质保到期日")
|
|
@ApiModelProperty(value = "质保到期日")
|
|
|
@ExcelProperty(value = "质保到期日")
|
|
@ExcelProperty(value = "质保到期日")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date warrantyEndDate;
|
|
|
|
|
|
|
+ private LocalDate warrantyEndDate;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 维护周期(月)
|
|
* 维护周期(月)
|
|
@@ -150,7 +152,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "上次维护日期")
|
|
@ApiModelProperty(value = "上次维护日期")
|
|
|
@ExcelProperty(value = "上次维护日期")
|
|
@ExcelProperty(value = "上次维护日期")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date lastMaintenanceDate;
|
|
|
|
|
|
|
+ private LocalDate lastMaintenanceDate;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 下次维护提醒日期
|
|
* 下次维护提醒日期
|
|
@@ -158,7 +160,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "下次维护提醒日期")
|
|
@ApiModelProperty(value = "下次维护提醒日期")
|
|
|
@ExcelProperty(value = "下次维护提醒日期")
|
|
@ExcelProperty(value = "下次维护提醒日期")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date nextMaintenanceDate;
|
|
|
|
|
|
|
+ private LocalDate nextMaintenanceDate;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 累计维护费用
|
|
* 累计维护费用
|
|
@@ -187,7 +189,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "记录创建时间")
|
|
@ApiModelProperty(value = "记录创建时间")
|
|
|
@ExcelIgnore
|
|
@ExcelIgnore
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date createTime;
|
|
|
|
|
|
|
+ private LocalDateTime createTime;
|
|
|
/**
|
|
/**
|
|
|
* 记录创建人
|
|
* 记录创建人
|
|
|
*/
|
|
*/
|
|
@@ -201,7 +203,7 @@ public class AEquipmentManagement implements Serializable {
|
|
|
@ApiModelProperty(value = "最后更新时间")
|
|
@ApiModelProperty(value = "最后更新时间")
|
|
|
@ExcelIgnore
|
|
@ExcelIgnore
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date updateTime;
|
|
|
|
|
|
|
+ private LocalDateTime updateTime;
|
|
|
/**
|
|
/**
|
|
|
* 最后更新人
|
|
* 最后更新人
|
|
|
*/
|
|
*/
|