using System.ComponentModel.DataAnnotations; using Core.Printing; namespace Core.Entities; /// /// Saved page-printer recipe: template note, entity type, and filters. Merged output is not stored. /// public class PrintPreset { public int Id { get; set; } [Required] [StringLength(100)] public string Name { get; set; } = null!; public int NoteId { get; set; } public Note Note { get; set; } = null!; public PrintEntityType EntityType { get; set; } public string FiltersJson { get; set; } = "{}"; public DateTime UpdatedAt { get; set; } }