backend phase 13 & frontend phase 6

This commit is contained in:
hamid
2026-07-09 04:09:35 +03:30
parent dc64472631
commit de53f9d8a6
97 changed files with 11969 additions and 77 deletions
@@ -165,5 +165,12 @@ public class ApplicationDbContext: IdentityDbContext<User, Role, int, UserClaim,
{
builder.Property(g => g.ConfigJson).HasConversion(encrypted);
});
// b13 payout snapshot: the nurse's IBAN is frozen onto each payout at build time and encrypted at rest
// through the same seam. Reads mask it to the last 4 digits — the plaintext IBAN is never serialized.
modelBuilder.Entity<Baya.Domain.Entities.Payouts.NursePayout>(builder =>
{
builder.Property(p => p.IbanSnapshot).HasConversion(encrypted);
});
}
}