From dc31792dc1b8ad1658e49ba8fce9a1be924e6fbb Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期四, 30 十一月 2023 08:44:04 +0800 Subject: [PATCH] 理片笼测试修改 --- springboot-vue3/src/main/java/com/example/springboot/entity/BaseEntity.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/BaseEntity.java b/springboot-vue3/src/main/java/com/example/springboot/entity/BaseEntity.java new file mode 100644 index 0000000..698d86d --- /dev/null +++ b/springboot-vue3/src/main/java/com/example/springboot/entity/BaseEntity.java @@ -0,0 +1,19 @@ +package com.example.springboot.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +@Data +public class BaseEntity { + @TableId(value = "id", type = IdType.AUTO) + @ApiModelProperty("涓婚敭") + private Long id; + @ApiModelProperty("鍒涘缓鏃堕棿") + private Date createTime; + @ApiModelProperty("鏇存柊鏃堕棿") + private Date updateTime; +} -- Gitblit v1.8.0