From fef03417a1f77e9d34629f579d82a68ca45c7e77 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 24 Jun 2022 16:02:03 +0800
Subject: [PATCH] 20220606
---
src/main/java/com/xcong/farmer/cms/modules/system/entity/UserEntity.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/entity/UserEntity.java b/src/main/java/com/xcong/farmer/cms/modules/system/entity/UserEntity.java
index 10e9376..6c43a8e 100644
--- a/src/main/java/com/xcong/farmer/cms/modules/system/entity/UserEntity.java
+++ b/src/main/java/com/xcong/farmer/cms/modules/system/entity/UserEntity.java
@@ -1,6 +1,8 @@
package com.xcong.farmer.cms.modules.system.entity;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
+import com.google.type.Date;
import com.xcong.farmer.cms.common.system.base.BaseEntity;
import lombok.Data;
@@ -18,6 +20,10 @@
* 默认密码
*/
public static final String PASSWORD_DEFAULT = "123456";
+ /**
+ * 系统最高账户的所属默认
+ */
+ public static final Long USER_BELONG_TOP = 0L;
/**
* 账号状态 - 禁用
*/
@@ -40,4 +46,9 @@
private Integer status;
//拓展备注
private String remark;
+ //所属ID
+ private Long companyId;
+
+ @TableField(exist = false)
+ private String roleName;
}
--
Gitblit v1.9.1