user.entity.ts 243 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 class UserEntity { id: number; /** * 密码 */ password: string; /** * 真实姓名 */ realName: string; /** * 角色 */ roles: string[]; /** * 用户名 */ username: string; } export { UserEntity };