Files
MoneyMap/MoneyMap.Core/Models/Merchant.cs
T
2026-04-20 18:16:33 -04:00

17 lines
425 B
C#

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<Transaction> Transactions { get; set; } = new List<Transaction>();
public ICollection<CategoryMapping> CategoryMappings { get; set; } = new List<CategoryMapping>();
}