1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- namespace Vinno.vCloud.Common.FIS.Consultation
- {
- enum CreateChatTableStatus
- {
- Success,
- NotFriends,
- Fail,
- HasInvalidUsers
- }
- /// <summary>
- /// The result for creating chat table.
- /// </summary>
- class CreateChatTableOutcome
- {
- /// <summary>
- /// Gets the chat table id.
- /// </summary>
- public string TableId { get; private set; }
- /// <summary>
- /// Gets the chat table name.
- /// </summary>
- public string TableName { get; private set; }
- /// <summary>
- /// Gets the value to indicate whether the chat table is a chat group or one to one chat.
- /// </summary>
- public bool IsGroup { get; private set; }
- /// <summary>
- /// Gets the status for creating chat table.
- /// </summary>
- public CreateChatTableStatus Status { get; private set; }
- public CreateChatTableOutcome(string tableId, string tableName, bool isGroup, CreateChatTableStatus status)
- {
- TableId = tableId;
- TableName = tableName;
- IsGroup = isGroup;
- Status = status;
- }
- }
- }
|