This commit is contained in:
tyuXX 2026-10-10 16:40:35 +00:00
commit f25ba8adcd
64 changed files with 5959 additions and 0 deletions

View file

@ -0,0 +1,13 @@
using System;
namespace GsDChat.Core.Models;
public class Channel
{
public string Id { get; set; } = Guid.NewGuid().ToString("N");
public string Name { get; set; } = string.Empty;
public string Topic { get; set; } = string.Empty;
public bool IsPrivate { get; set; } = false;
public string AllowedRoles { get; set; } = string.Empty; // Comma-separated or empty for public
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}