feat: 更新时间格式
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.schisandra.auth.infra.basic.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
@@ -150,6 +151,7 @@ public class SchisandraSocialUser implements Serializable {
|
||||
* 创建时间
|
||||
*/
|
||||
@Column("created_time")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
||||
private Date createdTime;
|
||||
|
||||
/**
|
||||
@@ -162,6 +164,7 @@ public class SchisandraSocialUser implements Serializable {
|
||||
* 更新时间
|
||||
*/
|
||||
@Column("update_time")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
@@ -1,5 +1,6 @@
|
||||
package com.schisandra.auth.infra.basic.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
@@ -48,6 +49,7 @@ public class SchisandraSocialUserAuth implements Serializable {
|
||||
* 创建时间
|
||||
*/
|
||||
@Column("created_time")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
||||
private Date createdTime;
|
||||
|
||||
/**
|
||||
@@ -60,6 +62,7 @@ public class SchisandraSocialUserAuth implements Serializable {
|
||||
* 更新时间
|
||||
*/
|
||||
@Column("update_time")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user