think/packages/domains/lib/models/user.js

21 lines
538 B
JavaScript
Raw Normal View History

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