注册时间接收格式

master
shijie 4 years ago
parent 0e9681356c
commit 5564f76685
  1. 2
      dq-framework-model/src/main/java/com/daqing/framework/domain/crms/CompanyCustomerEntity.java
  2. 2
      dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CustomerCompanyDTO.java

@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ -92,6 +93,7 @@ public class CompanyCustomerEntity implements Serializable {
@ApiModelProperty(value = "经营地址")
private String businessAddr;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiModelProperty(value = "注册时间")
private Date registerTime;

@ -1,5 +1,6 @@
package com.daqing.framework.domain.crms.ext;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
@ -96,6 +97,7 @@ public class CustomerCompanyDTO implements Serializable {
@ApiModelProperty(value = "社会统一代码")
private String socialUnifiedCode;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiModelProperty(value = "注册时间")
private Date registerTime;

Loading…
Cancel
Save