feat(entity): 添加用户地址修改时间字段
- 在 ShopUserAddress 实体中新增 updateTime 字段 - 为 updateTime 字段添加 JsonFormat 注解支持格式化输出 - 为 updateTime 字段添加 Schema 注解提供接口文档描述
This commit is contained in:
@@ -77,4 +77,8 @@ public class ShopUserAddress implements Serializable {
|
|||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
@Schema(description = "修改时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user