using System.ComponentModel.DataAnnotations;

namespace Knots.Models;

public class Message
{
    [Key] public int Id { get; set; }
    [Required, MaxLength(1000)] public string? Contenu { get; set; }
    [Required] public DateTime Date { get; set; }
    [Required] public Boolean Type { get; set; }
}