15 lines
368 B
C#
15 lines
368 B
C#
|
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; }
|
||
|
}
|