using System.ComponentModel.DataAnnotations; namespace Core.Entities; public class NoteHistory { public int Id { get; set; } [Required] [Display(Name = "Note Id")] public int NoteId { get; set; } [StringLength(200)] [Display(Name = "Title")] public string Title { get; set; } = null!; [Display(Name = "Content")] public string? Content { get; set; } [Display(Name = "Modified By")] public string? ModifiedBy { get; set; } [Display(Name = "Modified At")] public DateTime ModifiedAt { get; set; } [Required] [StringLength(50)] [Display(Name = "Change Type")] public string ChangeType { get; set; } = null!; public Note Note { get; set; } = null!; }