using System.ComponentModel.DataAnnotations; namespace MoneyMap.Models; public class Merchant { [Key] public int Id { get; set; } [Required] [MaxLength(100)] public string Name { get; set; } = string.Empty; public ICollection Transactions { get; set; } = new List(); public ICollection CategoryMappings { get; set; } = new List(); }