Stable multitenancy
This commit is contained in:
@@ -2,20 +2,11 @@
|
||||
|
||||
namespace PostFundManagement.Domain.Entities;
|
||||
|
||||
[EntityTypeConfiguration<TenantConfiguration, Tenant>]
|
||||
public class Tenant : Models.Tenant
|
||||
{
|
||||
public virtual User? Creator { get; set; }
|
||||
|
||||
public virtual User? Updator { get; set; }
|
||||
|
||||
public ICollection<Award> Awards { get; set; } = [];
|
||||
|
||||
public ICollection<Project> Projects { get; set; } = [];
|
||||
|
||||
public ICollection<Programme> Programmes { get; set; } = [];
|
||||
|
||||
public ICollection<Portfolio> Portfolios { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class TenantConfiguration : IEntityTypeConfiguration<Tenant>
|
||||
|
||||
Reference in New Issue
Block a user