2022-03-11 13:57:55 +08:00
|
|
|
"use strict";
|
2022-05-18 16:02:29 +08:00
|
|
|
exports.__esModule = true;
|
2022-03-11 13:57:55 +08:00
|
|
|
exports.UserStatus = exports.UserRole = void 0;
|
2022-05-18 16:02:29 +08:00
|
|
|
/**
|
|
|
|
* 用户角色枚举
|
|
|
|
*/
|
2022-03-11 13:57:55 +08:00
|
|
|
var UserRole;
|
|
|
|
(function (UserRole) {
|
|
|
|
UserRole["normal"] = "normal";
|
|
|
|
UserRole["admin"] = "admin";
|
|
|
|
UserRole["superadmin"] = "superadmin";
|
|
|
|
})(UserRole = exports.UserRole || (exports.UserRole = {}));
|
2022-05-18 16:02:29 +08:00
|
|
|
/**
|
|
|
|
* 用户状态枚举
|
|
|
|
*/
|
2022-03-11 13:57:55 +08:00
|
|
|
var UserStatus;
|
|
|
|
(function (UserStatus) {
|
|
|
|
UserStatus["normal"] = "normal";
|
|
|
|
UserStatus["locked"] = "locked";
|
|
|
|
})(UserStatus = exports.UserStatus || (exports.UserStatus = {}));
|