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/Role.java |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/Role.java b/springboot-vue3/src/main/java/com/example/springboot/entity/Role.java
new file mode 100644
index 0000000..b428d4c
--- /dev/null
+++ b/springboot-vue3/src/main/java/com/example/springboot/entity/Role.java
@@ -0,0 +1,34 @@
+package com.example.springboot.entity;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import javax.validation.constraints.NotBlank;
+import java.io.Serializable;
+import java.util.List;
+
+@EqualsAndHashCode(callSuper = true)
+@Data
+@TableName("`role`")
+@ApiModel("瑙掕壊")
+public class Role extends BaseEntity implements Serializable {
+    private static final long serialVersionUID = 5593937318976491954L;
+
+    @ApiModelProperty("鐖剁骇id")
+    private String parentId;
+    @NotBlank
+    @ApiModelProperty("鍚嶇О")
+    private String name;
+    @ApiModelProperty("鎻忚堪")
+    private String description;
+    @ApiModelProperty("鐘舵��")
+    private Integer state;
+
+    @TableField(exist = false)
+    private List<Permission> permissions;
+}
+

--
Gitblit v1.8.0