IM/backend/IM_API/Models/MessageExt.cs

22 lines
506 B
C#

namespace IM_API.Models
{
public partial class Message
{
public MessageMsgType MsgTypeEnum
{
get => (MessageMsgType)MsgType;
set => MsgType = (sbyte) value;
}
public ChatType ChatTypeEnum
{
get => (ChatType)ChatType;
set => ChatType = (sbyte)value;
}
public MessageState StateEnum
{
get => (MessageState)State;
set => State = (sbyte) value;
}
}
}