feat(expense): add per-expense FunctionalClass override

This commit is contained in:
Chris Chen
2026-06-24 19:05:07 -07:00
parent d3e6b5aed5
commit b6b110254a
5 changed files with 29 additions and 1 deletions
+1
View File
@@ -246,6 +246,7 @@ public class AppDbContext : IdentityDbContext<AppUser, AppRole, string>
entity.Property(e => e.Type).HasMaxLength(30).IsRequired();
entity.Property(e => e.Status).HasMaxLength(30).HasDefaultValue("Draft");
entity.Property(e => e.FunctionalClass).HasMaxLength(20);
entity.Property(e => e.Amount).HasColumnType("decimal(18,2)");
entity.Property(e => e.Description).HasMaxLength(500).IsRequired();
entity.Property(e => e.VendorName).HasMaxLength(200);