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