AnointedAutomation.Objects
0.0.21
dotnet add package AnointedAutomation.Objects --version 0.0.21
NuGet\Install-Package AnointedAutomation.Objects -Version 0.0.21
<PackageReference Include="AnointedAutomation.Objects" Version="0.0.21" />
<PackageVersion Include="AnointedAutomation.Objects" Version="0.0.21" />
<PackageReference Include="AnointedAutomation.Objects" />
paket add AnointedAutomation.Objects --version 0.0.21
#r "nuget: AnointedAutomation.Objects, 0.0.21"
#:package AnointedAutomation.Objects@0.0.21
#addin nuget:?package=AnointedAutomation.Objects&version=0.0.21
#tool nuget:?package=AnointedAutomation.Objects&version=0.0.21
AnointedAutomation.Objects
A .NET library providing standardized data models and objects for general application development, focusing on account management, billing systems, and data serialization.
Overview
AnointedAutomation.Objects provides a core set of reusable data models that can be used across various types of applications. Unlike the API-specific variant, this library focuses on general-purpose object models without API-specific dependencies.
Installation
Install via NuGet:
dotnet add package AnointedAutomation.Objects
Features
- Account Management Models: User accounts, profiles, credentials, and IP tracking
- Billing System Models: Complete billing workflow models
- MongoDB Integration: Native MongoDB support with BSON serialization
- JSON Serialization: Newtonsoft.Json integration
- No API Dependencies: Pure data models without ASP.NET Core dependencies
Key Differences from AnointedAutomation.Objects.API
- No ASP.NET Core MVC dependencies
- No API-specific utilities (CustomFormFile, etc.)
- Focused on pure data models
- Suitable for console apps, services, and non-web applications
Core Models
Account Namespace
User- User account informationProfile- User profile detailsCredentials- Authentication credentialsIPInfo- IP address and location tracking
Billing Namespace
Product- Product catalog entriesPurchase- Purchase transactionsSubscription- Recurring subscriptionsBill- Invoices and billsCreditCard- Payment card detailsPaymentCredentials- Payment authenticationPaymentType- Payment method typesAddress- Billing/shipping addressesContact- Contact informationInventory- Inventory trackingSale- Sales transactions
Utilities
ResponseData<T>- Generic response wrapperJObjectSerializer- Custom JSON/BSON serialization
Usage Example
using AnointedAutomation.Objects.API.Account;
using AnointedAutomation.Objects.API.Billing;
// Create a user
var user = new User
{
Email = "user@example.com",
Username = "johndoe",
CreatedDate = DateTime.UtcNow
};
// Create a product
var product = new Product
{
Name = "Premium Subscription",
Price = 9.99m,
Description = "Monthly premium access"
};
// Process a purchase
var purchase = new Purchase
{
UserId = user.Id,
ProductId = product.Id,
Amount = product.Price,
PurchaseDate = DateTime.UtcNow
};
Dependencies
- .NET 8.0
- MongoDB.Driver (3.4.0)
- Newtonsoft.Json (13.0.3)
Documentation
For detailed documentation on individual models and their properties, see the API subfolder README.
License
Copyright © 2023 Anointed Automation, LLC. All rights reserved.
Author
Created by Alexander Fields
| 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
- Newtonsoft.Json (>= 13.0.4)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AnointedAutomation.Objects:
| Package | Downloads |
|---|---|
|
AnointedAutomation.Objects.API
Standardization for API Objects - AnointedAutomation.Objects.API |
|
|
AnointedAutomation.Repository.Mongo
Repository for Generic Mongo Usage - AnointedAutomation.Repository.Mongo |
|
|
AnointedAutomation.Objects.Mongo
MongoDB-specific objects with BSON attributes - AnointedAutomation.Objects.Mongo |
GitHub repositories
This package is not used by any popular GitHub repositories.