16 lines
472 B
C#
16 lines
472 B
C#
using SurrealDb.Net.Models;
|
|
using RelayShared.Services;
|
|
|
|
namespace RelayServer.Models;
|
|
|
|
public class Channels : Record
|
|
{
|
|
public required string Name { get; set; }
|
|
public required DateTime CreatedAt { get; set; }
|
|
public ChannelType Type { get; set; } = ChannelType.Text;
|
|
public string Group { get; set; } = string.Empty;
|
|
public bool IsReadOnly { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
public string? LinkedFileChannelId { get; set; }
|
|
}
|