Foxchat.NET/Foxchat.Chat/Database/Models/Message.cs

15 lines
368 B
C#
Raw Permalink Normal View History

using NodaTime;
namespace Foxchat.Chat.Database.Models;
public class Message : BaseModel
{
public Ulid ChannelId { get; init; }
public Channel Channel { get; init; } = null!;
public Ulid AuthorId { get; init; }
public User Author { get; init; } = null!;
public string? Content { get; set; }
public Instant? UpdatedAt { get; set; }
}