MCPcopy
hub / github.com/yinxin630/fiora / UserDocument

Interface UserDocument

packages/database/mongoose/models/user.ts:32–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30});
31
32export interface UserDocument extends Document {
33 /** 用户名 */
34 username: string;
35 /** 密码加密盐 */
36 salt: string;
37 /** 加密的密码 */
38 password: string;
39 /** 头像 */
40 avatar: string;
41 /** 用户标签 */
42 tag: string;
43 /** 表情收藏 */
44 expressions: string[];
45 /** 创建时间 */
46 createTime: Date;
47 /** 最后登录时间 */
48 lastLoginTime: Date;
49 /** 最后登录IP */
50 lastLoginIp: string;
51}
52
53/**
54 * User Model

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected