ForgeFusion.Entities.Core.Account
1.1.2-beta
dotnet add package ForgeFusion.Entities.Core.Account --version 1.1.2-beta
NuGet\Install-Package ForgeFusion.Entities.Core.Account -Version 1.1.2-beta
<PackageReference Include="ForgeFusion.Entities.Core.Account" Version="1.1.2-beta" />
<PackageVersion Include="ForgeFusion.Entities.Core.Account" Version="1.1.2-beta" />
<PackageReference Include="ForgeFusion.Entities.Core.Account" />
paket add ForgeFusion.Entities.Core.Account --version 1.1.2-beta
#r "nuget: ForgeFusion.Entities.Core.Account, 1.1.2-beta"
#:package ForgeFusion.Entities.Core.Account@1.1.2-beta
#addin nuget:?package=ForgeFusion.Entities.Core.Account&version=1.1.2-beta&prerelease
#tool nuget:?package=ForgeFusion.Entities.Core.Account&version=1.1.2-beta&prerelease
ForgeFusion Accounts Library
Overview
The ForgeFusion.Entities.Core.Account library provides the foundational models and logic for user, tenant, and account management within the ForgeFusion ecosystem. It is a core part of the Accounts layer and is designed to support secure, multi-tenant, and extensible identity management.
✨ Features
- Tenant and User Models: Core entities for tenants, users, roles, and account configuration.
- Multi-Tenancy Support: Models and logic for supporting both shared and dedicated tenant databases.
- Role and Permission Management: Support for user roles, permissions, and access control.
- Integration with Products, Traders, and Storage: Direct references to product, trader, and storage entities for seamless business logic integration.
- Extensible Base Types: All account entities inherit from common base types, supporting features like soft deletion, auditing, and multi-tenancy.
- Serialization and Data Annotations: Uses attributes for JSON serialization and data validation, ensuring robust API and data layer integration.
Key Entities
- Tenant: Represents a tenant (organization or customer) in the system.
- User: Represents a user account, with support for roles and permissions.
- Role: Represents a user role for access control.
- TenantModel: Extended model for tenant-specific logic and relationships.
Example Relationships
- A
Tenant
can have multipleUsers
andAppLicenses
. - Users can be assigned to roles and have permissions scoped to tenants.
- Tenants can be linked to dedicated or shared databases for multi-tenancy.
Integration
- Depends on:
ForgeFusion.Core.Data.Common
(base models, interfaces)Shared.Common
(shared utilities)
- Used by:
- Storage, Products, Traders, Financials, and other domain libraries for account and identity logic.
Installation
Install via NuGet: dotnet add package ForgeFusion.Entities.Core.Account
Guidance for Contributors
- Add new account, tenant, or user models by extending the base account entities.
- Use data annotations and JSON attributes for all new models.
- Integrate with products, traders, and storage for end-to-end business scenarios.
Example Usage
var tenant = new TenantModel {
Name = "Acme Corp",
LicenseType = LicenseType.Enterprise,
AppLicenses = new List<TenantAppLicenseModel> { /* ... */ }
};
For more details, see the ForgeFusion documentation or explore the source code for entity definitions and account logic.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- ForgeFusion.Core.Data.Common (>= 1.1.3-beta)
- Shared.Common (>= 1.3.6)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on ForgeFusion.Entities.Core.Account:
Package | Downloads |
---|---|
ForgeFusion.Core.Data.Extensions
Provides a robust and secure data abstraction layer for .NET applications. Part of the ForgeFusion Community app framework. |
|
ForgeFusion.Core.Data.Entities.Traders
Provides a robust and secure data abstraction layer for .NET applications. Part of the ForgeFusion Community app framework. |
|
ForgeFusion.Core.Data.Products
Provides a robust and secure data abstraction layer for .NET applications. Part of the ForgeFusion Community app framework. |
|
ForgeFusion.Core.Data.Transactions
Provides a robust and secure data abstraction layer for .NET applications. Part of the ForgeFusion Community app framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.1.2-beta | 145 | 6/29/2025 |
1.1.1-beta | 124 | 6/29/2025 |
1.1.0-beta | 244 | 4/21/2025 |