feat(finance): add overview dashboard and platform fee rate

This commit is contained in:
2026-03-05 10:47:15 +08:00
parent fdbefca650
commit f7eba55039
24 changed files with 2279 additions and 131 deletions

View File

@@ -810,6 +810,7 @@ public sealed class TakeoutAppDbContext(
builder.Property(x => x.StoreId).IsRequired();
builder.Property(x => x.MinimumOrderAmount).HasPrecision(10, 2);
builder.Property(x => x.BaseDeliveryFee).HasPrecision(10, 2);
builder.Property(x => x.PlatformServiceRate).HasPrecision(5, 2);
builder.Property(x => x.PackagingFeeMode).HasConversion<int>();
builder.Property(x => x.OrderPackagingFeeMode).HasConversion<int>();
builder.Property(x => x.FixedPackagingFee).HasPrecision(10, 2);