adding pages and css and .gitignore, scripts, resources, to-do.md
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace StatiKosev.Data;
|
||||
|
||||
public class GuestMessage
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[MaxLength(2000)] public required string Body { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
|
||||
public bool IsRead { get; set; }
|
||||
|
||||
}
|
||||
public record SendGuestMessageRequest(
|
||||
[Required, StringLength(2000, MinimumLength = 1)] string Body);
|
||||
Reference in New Issue
Block a user