通讯录模块类图
2016-05-25 16:24:41 0 举报
通讯录模块类图主要包括以下几个部分:用户、联系人和通讯录。用户类包含用户的基本信息,如姓名、电话号码等;联系人类包含联系人的详细信息,如姓名、电话号码、邮箱等;通讯录类则用于管理用户和联系人之间的关系,包括添加、删除、查找等功能。此外,通讯录模块还提供了一些辅助功能,如按姓名排序、按电话号码排序等。整个通讯录模块的设计旨在为用户提供一个简单易用的通讯录管理工具,帮助用户快速地查找和管理联系人信息。
作者其他创作
大纲/内容
0..1
ContactsGroup
- Id: bson.ObjectId- Owner: bson.ObjectId- Name: string- Color: string- Remark: string- Size: int
0..*
Company
- Id: bson.ObjectId- UserId: bson.ObjectId- Industry: string- Address: Address- Tel: string- Fax: string- Size: uint8- Category: uint8- IsPublic: bool- ContactsGroupts: []ContactsGroups- Contacts: []Contacts
Person
- Id: bson.ObjectId- UserId: bson.ObjectId- IdentityCard: string- Age: uint8- Gender: uint8- Job: uint8- ContactsGroups: []ContactsGroup- Contacts: []Contacts
Contacts
- Id: bson.ObjectId- Owner: bson.ObjectId- UserId: bson.ObjectId- GroupId: bson.ObjectId- GroupId: bson.ObjectId- GroupName: string-Name: string- Email: string- Mobile: string- Remark: string
User
- Id: bson.ObjectId- Email: string- Mobile: string- Name: string- Password: string- Type: uint8- CompanyUserId: bson.ObjectId- AgentId: bson.ObjectId- Avatar: bson.ObjectId- AvatarHistory: []bson.ObjectId- CreatedAt: time.Time- UpdatedAt: time.Time- IsActivated: time.Time- ActivatedAt: time.Time- IsCertified: bool- CertifiedAt: time.Time- LastLoginDate: time.Time- LastLoginIp: string- ActivationEmails: []string- Config: bson.M- AlipayAccount: string
- GetCurrentUserInfo()
0 条评论
下一页