diff --git a/src/main/java/com/example/demo/common/domain/BaseVO.java b/src/main/java/com/example/demo/common/domain/BaseVO.java index 0583f14..78b84d8 100644 --- a/src/main/java/com/example/demo/common/domain/BaseVO.java +++ b/src/main/java/com/example/demo/common/domain/BaseVO.java @@ -9,7 +9,6 @@ import lombok.experimental.SuperBuilder; import java.io.Serial; import java.io.Serializable; -import java.util.Date; /** * 基础视图对象 @@ -55,7 +54,7 @@ public class BaseVO implements Serializable { */ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @Schema(description = "创建时间") - private Date createdTime; + private String createdTime; /** * 创建人ID @@ -69,7 +68,7 @@ public class BaseVO implements Serializable { */ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @Schema(description = "更新时间") - private Date updatedTime; + private String updatedTime; /** * 更新人ID @@ -82,5 +81,5 @@ public class BaseVO implements Serializable { * 是否删除(0:未删除,1:已删除) */ @Schema(description = "是否删除") - private String isDeleted; + private Integer isDeleted; } \ No newline at end of file