using System;
using System.Collections.Generic;
using GxPress.EnumConst;
using GxPress.Result.App.GroupUser;
namespace GxPress.Result.App.Group
{
///
/// 最近使用的小组
///
public class LatelyGroupDetailResult
{
///
/// 小组ID
///
public int Id { get; set; }
///
/// 小组名称
///
public string Name { get; set; }
///
/// 头像
///
public string AvatarUrl { get; set; }
///
/// 共享人数
///
///
public int UserCount { get; set; }
///
///
///
///
public int TypeId { get; set; }
///
///
///
///
public int TypeValue { get; set; }
}
///
/// 小组详情
///
public class GroupDetailResult
{
///
/// 小组ID
///
public int Id { get; set; }
///
/// 小组名称
///
public string Name { get; set; }
///
/// 小组创始人
///
public int UserId { get; set; }
///
/// 二维码
///
public string QRCoder { get; set; }
///
/// 头像
///
public string AvatarUrl { get; set; }
///
/// 介绍
///
public string Introduce { get; set; }
///
///是否管理用同意
///
public bool IsAdmin { get; set; }
///
/// 是否禁言
///
public bool IsWords { get; set; }
///
/// 是否免打扰
///
public bool IsUDisturb { get; set; }
///
/// 小组文件夹ID
///
public int GroupFolderId { get; set; }
///
/// 创始人姓名
///
public string UserName { get; set; }
///
/// 成员数据
///
public IEnumerable GroupUserListResult { get; set; }
///
/// 权限1 超级管理员 2 管理员 3普通用户
///
public GroupUserRoleTyeConst GroupUserRoleId { get; set; }
///
/// 小组成员数量
///
public int GroupUserNumber { get; set; }
///
/// 小组话题数量
///
public int GroupTopicNumber { get; set; }
///
/// 是否是群成员
///
public bool IsUser { get; set; }
///
/// 创建时间
///
///
public DateTime? CreatedDate { get; set; }
///
/// 标签
///
///
public string LabelName { get; set; }
///
/// 是否显示
///
///
public bool IsShow { get; set; }
///
/// 历史头像
///
///
public string HistoryAvatarUrl { get; set; }
///
/// 是否申请中
///
///
public bool IsApply { get; set; }
///
/// 分类名称
///
///
public string CategroyName { get; set; }
///
/// 排序
///
///
public int Sort { get; set; }
///
/// 广场ID
///
public int GroupCategroyId { get; set; }
///
/// 主要成员
///
///
public int MainMemberCount { get; set; }
///
/// 普通成员数量
///
///
public int CommonMemberCount { get; set; }
///
/// 主要成员数据
///
public IEnumerable MainMemberListResult { get; set; }
///
/// 普通成员数据
///
public IEnumerable CommonMemberListResult { get; set; }
///
/// 是否创建者
///
///
public bool IsCreator { get; set; }
///
/// 是否加入通讯录
///
///
public bool IsContacts{get;set;}
}
///
/// 用户小组列表
///
public class UserGroupList
{
///
/// 小组ID
///
public int Id { get; set; }
///
/// 小组名称
///
public string Name { get; set; }
///
/// 头像
///
public string AvatarUrl { get; set; }
///
/// 共享用户数量
///
///
public int UserCount { get; set; }
}
///
///
///
public class UserGroupResult
{
///
/// 小组ID -1 全网公开 -2 我的小组
///
public int Id { get; set; }
///
/// 小组名称
///
public string Name { get; set; }
}
///
/// 小组搜索
///
public class SearchGroupDetailResult
{
///
/// 小组ID
///
public int Id { get; set; }
///
/// 简介
///
///
public string Introduce { get; set; }
///
/// 小组名称
///
public string Name { get; set; }
///
/// 头像
///
public string AvatarUrl { get; set; }
///
/// 用户数量
///
///
public int UserCount { get; set; }
///
/// 发布数量
///
///
public int TopicCount { get; set; }
///
/// 是否申请
///
///
public bool IsApply { get; set; }
///
/// 是否是成员
///
///
public bool IsUser { get; set; }
///
/// 是否需要管理员同意
///
///
public bool IsAdmin { get; set; }
}
}