Browse Source

增加时间的显示

develop
zhangyuan 3 years ago
parent
commit
9ea91ee28c
  1. 14
      epmet-plugins-module/pli-power-base/pli-power-base-client/src/main/java/com/epmet/plugin/power/dto/rent/RentTenantInfoDTO.java

14
epmet-plugins-module/pli-power-base/pli-power-base-client/src/main/java/com/epmet/plugin/power/dto/rent/RentTenantInfoDTO.java

@ -1,10 +1,12 @@
package com.epmet.plugin.power.dto.rent;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@ -68,6 +70,18 @@ public class RentTenantInfoDTO implements Serializable {
*/
private String reason;
@JsonFormat(
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
private Date createdTime;
@JsonFormat(
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
private Date updatedTime;
/**
* 头像列表
*/

Loading…
Cancel
Save