using System.ComponentModel.DataAnnotations;

namespace Knots.Models;

public class Key
{
    [Key] public int Id { get; set; }
    [Required, MaxLength(50)] public string? EnKey { get; set; }
    public List<Message> Messages { get; set; } = []; 
}