AAM.Inventory.Core.Domain
1.0.1
dotnet add package AAM.Inventory.Core.Domain --version 1.0.1
NuGet\Install-Package AAM.Inventory.Core.Domain -Version 1.0.1
<PackageReference Include="AAM.Inventory.Core.Domain" Version="1.0.1" />
<PackageVersion Include="AAM.Inventory.Core.Domain" Version="1.0.1" />
<PackageReference Include="AAM.Inventory.Core.Domain" />
paket add AAM.Inventory.Core.Domain --version 1.0.1
#r "nuget: AAM.Inventory.Core.Domain, 1.0.1"
#:package AAM.Inventory.Core.Domain@1.0.1
#addin nuget:?package=AAM.Inventory.Core.Domain&version=1.0.1
#tool nuget:?package=AAM.Inventory.Core.Domain&version=1.0.1
AAM.Inventory.Core.Domain
The domain layer for the Inventory Suite - a clean architecture implementation with pure domain models, entities, and interfaces.
Features
- ✅ Pure Domain Models: No external dependencies
- ✅ Entity Framework Ready: Entities designed for EF Core
- ✅ Clean Architecture: Follows DDD principles
- ✅ Type-Safe Enums: Strongly-typed enumerations
- ✅ Repository Pattern: Interface definitions for data access
Installation
dotnet add package AAM.Inventory.Core.Domain
Or via Package Manager:
Install-Package AAM.Inventory.Core.Domain
Core Components
Entities
- Product: Product information with SKU, name, description, and pricing
- Category: Product categorization
- User: User accounts with role-based access
- StockMovement: Audit trail for inventory changes
Enums
- UserRole: SuperAdmin, Moderator, Cashier
- MovementType: Add, Remove, Adjust
Interfaces
- Repository interfaces for data access abstraction
- Domain service interfaces
Usage Example
using AAM.Inventory.Core.Domain.Entities;
using AAM.Inventory.Core.Domain.Enums;
// Create a product
var product = new Product
{
Name = "Sample Product",
SKU = "SKU-001",
Description = "A sample product",
Price = 99.99m,
CategoryId = 1
};
// Create a user
var user = new User
{
Username = "john.doe",
Email = "john@example.com",
Role = UserRole.Moderator,
IsActive = true
};
Dependencies
This package has no external dependencies, making it perfect for:
- Clean Architecture implementations
- Domain-Driven Design (DDD)
- Multi-platform projects
- NuGet package distribution
Target Framework
- .NET 8.0
Related Packages
- AAM.Inventory.Core.Application - Business logic and use cases
Documentation
For complete documentation, visit the Inventory Suite repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please see the Contributing Guide for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AAM.Inventory.Core.Domain:
| Package | Downloads |
|---|---|
|
AAM.Inventory.Core.Application
Business logic, use cases, DTOs, and validators for the Inventory Suite. This package contains the application layer with business logic and depends on AAM.Inventory.Core.Domain. |
GitHub repositories
This package is not used by any popular GitHub repositories.