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
+45 -45
View File
@@ -1,45 +1,45 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MoneyMap.Models;
public enum AccountType
{
Checking,
Savings,
Other
}
public class Account
{
[Key]
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string Institution { get; set; } = string.Empty; // e.g., "Chase", "Wells Fargo"
[Required]
[MaxLength(4)]
public string Last4 { get; set; } = string.Empty; // Last 4 digits of account number
[Required]
[MaxLength(100)]
public string Owner { get; set; } = string.Empty; // Account holder name
public AccountType AccountType { get; set; } = AccountType.Checking;
[MaxLength(50)]
public string? Nickname { get; set; } // Optional friendly name like "Emergency Fund"
// Navigation properties
public ICollection<Card> Cards { get; set; } = new List<Card>(); // Cards linked to this account
public ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();
public ICollection<Transfer> SourceTransfers { get; set; } = new List<Transfer>();
public ICollection<Transfer> DestinationTransfers { get; set; } = new List<Transfer>();
[NotMapped]
public string DisplayLabel => string.IsNullOrEmpty(Nickname)
? $"{Institution} {Last4} ({AccountType})"
: $"{Nickname} ({Institution} {Last4})";
}
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MoneyMap.Models;
public enum AccountType
{
Checking,
Savings,
Other
}
public class Account
{
[Key]
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string Institution { get; set; } = string.Empty; // e.g., "Chase", "Wells Fargo"
[Required]
[MaxLength(4)]
public string Last4 { get; set; } = string.Empty; // Last 4 digits of account number
[Required]
[MaxLength(100)]
public string Owner { get; set; } = string.Empty; // Account holder name
public AccountType AccountType { get; set; } = AccountType.Checking;
[MaxLength(50)]
public string? Nickname { get; set; } // Optional friendly name like "Emergency Fund"
// Navigation properties
public ICollection<Card> Cards { get; set; } = new List<Card>(); // Cards linked to this account
public ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();
public ICollection<Transfer> SourceTransfers { get; set; } = new List<Transfer>();
public ICollection<Transfer> DestinationTransfers { get; set; } = new List<Transfer>();
[NotMapped]
public string DisplayLabel => string.IsNullOrEmpty(Nickname)
? $"{Institution} {Last4} ({AccountType})"
: $"{Nickname} ({Institution} {Last4})";
}