init
This commit is contained in:
commit
f25ba8adcd
64 changed files with 5959 additions and 0 deletions
13
src/GsDChat.Core/Models/Channel.cs
Normal file
13
src/GsDChat.Core/Models/Channel.cs
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue