1. 系统新增用户标记为外部用户;e 办同步用户标记为系统用户

2. 业务表新增基础业务字段,创建人与更新人名称
This commit is contained in:
chenbowen
2025-09-16 16:09:10 +08:00
parent e1a14564d0
commit 9ee1100b29
19 changed files with 195 additions and 53 deletions

View File

@@ -0,0 +1,27 @@
package cn.iocoder.yudao.module.system.enums.dept;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 部门来源枚举
*
* @author ZT
*/
@AllArgsConstructor
@Getter
public enum DeptSourceEnum {
EXTERNAL(1, "外部部门"), // 系统创建的部门
SYNC(2, "同步部门"); // 通过 OrgSyncService 同步的部门
/**
* 类型
*/
private final Integer source;
/**
* 名字
*/
private final String name;
}

View File

@@ -0,0 +1,27 @@
package cn.iocoder.yudao.module.system.enums.user;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 用户来源枚举
*
* @author ZT
*/
@AllArgsConstructor
@Getter
public enum UserSourceEnum {
EXTERNAL(1, "外部用户"), // 系统创建、注册等方式产生的用户
SYNC(2, "同步用户"); // 通过 UserSyncService 同步的用户
/**
* 类型
*/
private final Integer source;
/**
* 名字
*/
private final String name;
}