This commit is contained in:
2026-07-24 12:42:51 +08:00 Unverified
commit 67905dfa16
56 changed files with 7630 additions and 0 deletions
@@ -0,0 +1,16 @@
namespace Jiaowu.Api.Domain.Common;
public abstract class EntityBase
{
public Guid Id { get; set; } = Guid.NewGuid();
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}
public abstract class CatalogEntity : EntityBase
{
public required string Code { get; set; }
public required string Name { get; set; }
public int SortOrder { get; set; }
public bool IsEnabled { get; set; } = true;
}