MasLazu.AspNet.Authorization.Page.Domain
1.0.0-preview.1
dotnet add package MasLazu.AspNet.Authorization.Page.Domain --version 1.0.0-preview.1
NuGet\Install-Package MasLazu.AspNet.Authorization.Page.Domain -Version 1.0.0-preview.1
<PackageReference Include="MasLazu.AspNet.Authorization.Page.Domain" Version="1.0.0-preview.1" />
<PackageVersion Include="MasLazu.AspNet.Authorization.Page.Domain" Version="1.0.0-preview.1" />
<PackageReference Include="MasLazu.AspNet.Authorization.Page.Domain" />
paket add MasLazu.AspNet.Authorization.Page.Domain --version 1.0.0-preview.1
#r "nuget: MasLazu.AspNet.Authorization.Page.Domain, 1.0.0-preview.1"
#:package MasLazu.AspNet.Authorization.Page.Domain@1.0.0-preview.1
#addin nuget:?package=MasLazu.AspNet.Authorization.Page.Domain&version=1.0.0-preview.1&prerelease
#tool nuget:?package=MasLazu.AspNet.Authorization.Page.Domain&version=1.0.0-preview.1&prerelease
MasLazu.AspNet.Authorization.Page.Domain
This project contains the domain entities for the ASP.NET Authorization Page system. It defines the core business objects and their relationships that represent the domain model.
Overview
The domain layer establishes the fundamental entities that model the page authorization system, including their properties and relationships. These entities form the basis for data persistence and business logic.
Entities
Page
Represents a page in the authorization system.
Properties:
Id(inherited from BaseEntity)ParentId: Optional GUID referencing the parent page for hierarchical structurePageGroupId: Optional GUID referencing the page groupCode: Unique code identifier for the pageName: Display name of the pagePath: URL path or route for the pageCreatedAt,UpdatedAt(inherited from BaseEntity)
Relationships:
Parent: Navigation to parent Page (self-referencing)PageGroup: Navigation to associated PageGroupPagePermissions: Collection of PagePermission entities
PageGroup
Represents a group of pages for organizational purposes.
Properties:
Id(inherited from BaseEntity)Code: Unique code identifier for the groupName: Display name of the groupIcon: Optional icon representationCreatedAt,UpdatedAt(inherited from BaseEntity)
Relationships:
Pages: Collection of Page entities belonging to this group
PagePermission
Represents the association between a page and a permission.
Properties:
Id(inherited from BaseEntity)PageId: GUID referencing the associated pagePermissionId: GUID referencing the associated permissionCreatedAt,UpdatedAt(inherited from BaseEntity)
Relationships:
Page: Navigation to the associated Page entity
Entity Relationships
PageGroup 1:N Pages
Page 1:N PagePermissions
Page N:1 Page (self-referencing for hierarchy)
Dependencies
- MasLazu.AspNet.Framework.Domain: Provides the
BaseEntityclass with common properties likeId,CreatedAt, andUpdatedAt
Target Framework
- .NET 9.0
- Nullable reference types enabled
- Implicit usings enabled
Usage
These domain entities are used by:
- The EF Core project for database mapping and persistence
- The main application project for business logic implementation
- Other layers that need to work with the core domain objects
The entities define the structure and relationships that govern how pages, groups, and permissions interact within the authorization system.
| 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
- MasLazu.AspNet.Framework.Domain (>= 1.0.0-preview.9)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MasLazu.AspNet.Authorization.Page.Domain:
| Package | Downloads |
|---|---|
|
MasLazu.AspNet.Authorization.Page.EfCore
Package Description |
|
|
MasLazu.AspNet.Authorization.Page
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.1 | 196 | 9/25/2025 |