forked from xiongyuxing/tiku-backend.net
feat: enforce tenant isolation and shared question bank
This commit is contained in:
@@ -18,7 +18,7 @@ public sealed class PlatformSaasPlan : AuditableEntity
|
||||
public int SortOrder { get; set; }
|
||||
}
|
||||
|
||||
public sealed class TenantBillingProfile : IHasTimestamps
|
||||
public sealed class TenantBillingProfile : IHasTimestamps, ITenantOwned
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
public string? BillingName { get; set; }
|
||||
@@ -58,7 +58,7 @@ public sealed class TenantInvoice : AuditableTenantEntity
|
||||
public JsonElement Metadata { get; set; } = JsonDefaults.Object();
|
||||
}
|
||||
|
||||
public sealed class TenantInvoiceItem : Entity
|
||||
public sealed class TenantInvoiceItem : Entity, ITenantOwned
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
public Guid InvoiceId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user