Reviewed and Updated models for Shared project
This commit is contained in:
18
RelayShared/Services/ChannelTransmissions.cs
Normal file
18
RelayShared/Services/ChannelTransmissions.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace RelayShared.Services;
|
||||
|
||||
public sealed class ChannelItem
|
||||
{
|
||||
public string ChannelId { get; set; } = string.Empty;
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public ChannelType Type { get; set; }
|
||||
|
||||
public string Group { get; set; } = string.Empty;
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
|
||||
public sealed class SocketChannelList
|
||||
{
|
||||
public SignalType Type { get; set; } = SignalType.ChannelList;
|
||||
public List<ChannelItem> Channels { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user