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; } }