softinven.domain.data
1.0.0
dotnet add package softinven.domain.data --version 1.0.0
NuGet\Install-Package softinven.domain.data -Version 1.0.0
<PackageReference Include="softinven.domain.data" Version="1.0.0" />
paket add softinven.domain.data --version 1.0.0
#r "nuget: softinven.domain.data, 1.0.0"
// Install softinven.domain.data as a Cake Addin #addin nuget:?package=softinven.domain.data&version=1.0.0 // Install softinven.domain.data as a Cake Tool #tool nuget:?package=softinven.domain.data&version=1.0.0
Sure! Here is the README file in markdown format based on the entities you provided:
Domain Class Library
Overview
The Domain
class library is a foundational project in our Inventory Management System. It defines the core entities that represent the primary business objects and rules. This project adheres to the principles of Clean Architecture, ensuring that the domain logic is decoupled from external concerns.
Entities
The following entities are defined within the Domain
class library:
Products
ProductBase
Represents the base class for all product-related entities.
- Properties:
Id
(Guid): Unique identifier for the product.Name
(string): Name of the product.
Product
Represents an individual product in the inventory.
- Properties:
Id
(Guid): Unique identifier for the product.Name
(string): Name of the product.Category
(Category): Category to which the product belongs.CategoryId
(Guid): Identifier for the category.Location
(Location): Location where the product is stored.LocationId
(Guid): Identifier for the location.Price
(decimal): Price of the product.Quantity
(int): Quantity of the product in stock.SerialNumber
(string): Serial number of the product.Description
(string): Description of the product.Base64Image
(string): Base64 encoded image of the product.DateAdded
(DateTime): Date when the product was added.
Location
Represents a location where products are stored.
- Properties:
Id
(Guid): Unique identifier for the location.Name
(string): Name of the location.Products
(ICollection<Product>): Collection of products in the location.
Category
Represents a category to which products can be assigned.
- Properties:
Id
(Guid): Unique identifier for the category.Name
(string): Name of the category.Products
(ICollection<Product>): Collection of products in the category.
Orders
Order
Represents an order placed for products.
- Properties:
Id
(Guid): Unique identifier for the order.DateOrdered
(DateTime): Date when the order was placed.DeliveringDate
(DateTime): Date when the order is expected to be delivered.ProductId
(Guid): Identifier for the product in the order.ClientId
(string): Identifier for the client who placed the order.Quantity
(int): Quantity of the product ordered.Price
(decimal): Price of the product.TotalAmount
(decimal): Total amount for the order.OrderState
(string): State of the order (e.g., pending, completed).
ActivityTracker
Tracker
Represents a tracker for various activities within the system.
- Properties:
Id
(int): Unique identifier for the tracker.Date
(DateTime): Date of the activity.Title
(string): Title of the activity.Description
(string): Description of the activity.OperationState
(bool): State of the operation (e.g., success, failure).UserId
(string): Identifier for the user who performed the activity.
Usage
The entities defined in this class library are used to represent and manipulate the core business objects within the Inventory Management System. They are intended to be consumed by the Application and Infrastructure layers to enforce business rules and ensure data integrity.
Contributing
Contributions to the Domain
class library are welcome. Please follow the standard guidelines for contributing, including writing clean, well-documented code and adhering to the project's coding standards.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to modify this template according to your specific project requirements and any additional entities or properties you have.
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. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on softinven.domain.data:
Package | Downloads |
---|---|
softinven.application.services
This Application handles the services and DTO aspect of the inventory management system |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 248 | 7/11/2024 |