feat: add recurring places and transaction pagination
Build MoneyMap image / build-and-push (push) Failing after 4s

This commit is contained in:
aj
2026-08-17 06:42:08 -04:00
parent 2356b7d5c9
commit 1cc0a355f2
175 changed files with 34411 additions and 34039 deletions
+33
View File
@@ -0,0 +1,33 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MoneyMap.Models;
public class Category
{
[Key]
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string Name { get; set; } = string.Empty;
[MaxLength(500)]
public string Description { get; set; } = string.Empty;
[MaxLength(50)]
public string Type { get; set; } = string.Empty; // e.g., "Expense", "Income", "Transfer"
public bool IsDefault { get; set; } = false;
public int? ParentCategoryId { get; set; }
public Category? ParentCategory { get; set; }
public ICollection<Category> Children { get; set; } = new List<Category>();
public ICollection<RecurringPlace> RecurringPlaces { get; set; } = new List<RecurringPlace>();
public ICollection<CategoryMapping> CategoryMappings { get; set; } = new List<CategoryMapping>();
public ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();
[NotMapped]
public string DisplayLabel => Name;
}