OElite.Common.Platform
5.0.9
dotnet add package OElite.Common.Platform --version 5.0.9
NuGet\Install-Package OElite.Common.Platform -Version 5.0.9
<PackageReference Include="OElite.Common.Platform" Version="5.0.9" />
<PackageVersion Include="OElite.Common.Platform" Version="5.0.9" />
<PackageReference Include="OElite.Common.Platform" />
paket add OElite.Common.Platform --version 5.0.9
#r "nuget: OElite.Common.Platform, 5.0.9"
#:package OElite.Common.Platform@5.0.9
#addin nuget:?package=OElite.Common.Platform&version=5.0.9
#tool nuget:?package=OElite.Common.Platform&version=5.0.9
OElite.Common.Platform
Platform-specific shared domain models, DTOs, validators, and business entities for the OElite enterprise eCommerce platform.
Overview
OElite.Common.Platform extends OElite.Common with platform-specific entities and contracts for the OElite eCommerce Platform. It provides the domain models for core business concepts (Customer, Merchant, Product, Order, Payment, Inventory, Settings, Roles, Tenant, OmniChannel, Audit) along with their DTOs and FluentValidation validators.
This package is the canonical source of truth for the Platform's domain layer and is consumed by every server (Nexus, Tesseract, Hephaestus) and every downstream OElite application.
Features
🏢 Business Domain Models
- Product / Category / Campaign: Catalog and merchandising entities
- Customer / Merchant / Tenant: Multi-tenant identity and access entities
- Order / Payment / Invoice / Expense: Commerce and finance entities
- Inventory / InventoryItem: Stock and warehouse entities
- Setting / Role / Permission: Configuration and authorization entities
- OmniChannel / Shipping / SalesChannel: Multi-channel commerce entities
- Audit / AuditLog: Compliance and audit trail entities
📦 DTOs (Data Transfer Objects)
- Clean request/response models for every entity (
CustomerDto,ProductCreateDto,OrderDto,TenantConfigDto, etc.) - DTOs follow OElite framework conventions for
[TransformedResponse]use in API controllers
✅ Validators
- FluentValidation validators for every request DTO (e.g.
CategoryValidator,ProductValidator,OrderValidator) - Mapping extensions for cross-domain validation rules
Quick Start
1. Installation
dotnet add package OElite.Common.Platform
2. Reference a Domain Entity
using OElite.Common.Platform.Biz.Customers;
using OElite.Common.Platform.DTOs.Customers;
public class MyController
{
public async Task<CustomerDto> GetCustomer(string id)
{
var entity = await _repo.GetByIdAsync(id);
return new CustomerDto
{
Id = entity.Id,
Name = entity.Name,
Email = entity.Email
};
}
}
Dependencies
- OElite.Common (foundational types, BaseEntity, attributes)
- FluentValidation 12.x (validators)
Related Packages
- OElite.Data.Platform - Platform-specific repositories and MongoDB integration
- OElite.Services.Platform - Business logic services for these domain entities
License
Copyright (c) Phanes. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- FluentValidation (>= 12.1.1)
- OElite.Common (>= 5.0.9)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OElite.Common.Platform:
| Package | Downloads |
|---|---|
|
OElite.Services.Platform
Package Description |
|
|
OElite.Data.Platform
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.9 | 55 | 8/31/2026 |