123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- using System.Collections.Generic;
- namespace GxPress.Result.User
- {
- /// <summary>
- /// 用户结果
- /// </summary>
- public class UserResult
- {
- /// <summary>
- /// 用户id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 手机
- /// </summary>
- public string Phone { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// 性别
- /// Gender
- /// </summary>
- public string Gender { get; set; }
- /// <summary>
- /// 邮箱
- /// </summary>
- public string Email { get; set; }
- /// <summary>
- /// 部门名称
- /// </summary>
- public string DepartmentName { get; set; }
- /// <summary>
- /// 角色名称
- /// </summary>
- public string RoleName { get; set; }
- /// <summary>
- /// 部门ID
- /// </summary>
- public IEnumerable<int> DepartmentIds { get; set; }
- /// <summary>
- /// 角色ID
- /// </summary>
- public int RoleId { get; set; }
- /// <summary>
- /// 头像地址
- /// </summary>
- public string AvatarUrl { get; set; }
- /// <summary>
- /// 环信ID
- /// </summary>
- public string ImId { get; set; }
- }
- /// <summary>
- /// 用户通讯录
- /// </summary>
- public class UserLinkResult
- {
- /// <summary>
- /// 用户通讯录
- /// </summary>
- /// <value></value>
- public List<UserLinkModelResult> Items { get; set; }
- /// <summary>
- /// 好友
- /// </summary>
- /// <value></value>
- public IEnumerable<UserInfoResult> FriendUsers { get; set; }
- /// <summary>
- /// 最近聊天用户
- /// </summary>
- /// <value></value>
- public IEnumerable<UserInfoResult> LatelyChatUsers { get; set; }
- }
- /// <summary>
- ///
- /// </summary>
- public class UserLinkModelResult
- {
- public int Id { get; set; }
- /// <summary>
- /// 用户通讯录 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录
- /// </summary>
- /// <value></value>
- public int TypeId { get; set; }
- /// <summary>
- /// 名称
- /// </summary>
- /// <value></value>
- public string Name { get; set; }
- /// <summary>
- /// 数据ID
- /// </summary>
- /// <value></value>
- public List<UserLinkModelAttributeResult> Items { get; set; }
- public int TypeValue { get; set; }
- }
- /// <summary>
- ///
- /// </summary>
- public class UserLinkModelAttributeResult
- {
- /// <summary>
- /// Id
- /// </summary>
- /// <value></value>
- public int Id { get; set; }
- /// <summary>
- /// 名称
- /// </summary>
- /// <value></value>
- public string Name { get; set; }
- /// <summary>
- /// 1 我的小组 2我的群聊 3我的课程
- /// </summary>
- /// <value></value>
- public int TypeValue { get; set; }
- /// <summary>
- /// 人数
- /// </summary>
- /// <value></value>
- public int UserCount { get; set; }
- /// <summary>
- /// 类型
- /// </summary>
- /// <value></value>
- public int TypeId { get; set; }
- }
- /// <summary>
- ///
- /// </summary>
- public class UserInfoByGroupoRoGroupChatResult
- {
- /// <summary>
- /// 1 群聊 2小组 3自建小组
- /// </summary>
- /// <value></value>
- public int TypeValue { get; set; }
- public int TypeId { get; set; }
- /// <summary>
- /// 群聊小组ID
- /// </summary>
- /// <value></value>
- public int Id { get; set; }
- /// <summary>
- /// 搜索
- /// </summary>
- /// <value></value>
- public string Keyword { get; set; }
- /// <summary>
- /// 用户ID
- /// </summary>
- /// <value></value>
- public int UserId { get; set; }
- }
- }
|