Initial commit

This commit is contained in:
2026-04-23 21:38:24 -04:00
commit 63e12a9636
1762 changed files with 1672620 additions and 0 deletions
@@ -0,0 +1,23 @@
namespace PowderCoating.Core.Entities;
/// <summary>
/// Base entity class that all domain entities inherit from
/// </summary>
public abstract class BaseEntity
{
public int Id { get; set; }
// Multi-tenancy
public int CompanyId { get; set; }
// Audit fields
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime? UpdatedAt { get; set; }
public string? CreatedBy { get; set; }
public string? UpdatedBy { get; set; }
// Soft delete
public bool IsDeleted { get; set; } = false;
public DateTime? DeletedAt { get; set; }
public string? DeletedBy { get; set; }
}