Files
MoneyMap/MoneyMap.Core/Models/Merchant.cs
T
aj 1cc0a355f2
Build MoneyMap image / build-and-push (push) Failing after 4s
feat: add recurring places and transaction pagination
2026-08-17 06:42:08 -04:00

18 lines
541 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>();
public ICollection<RecurringPlace> RecurringPlaces { get; set; } = new List<RecurringPlace>();
}