This commit is contained in:
gamer147
2024-09-05 08:32:54 -04:00
parent 8d62c9f238
commit ee7e276036
45 changed files with 1506 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
using DCGEngine.Database.Interfaces;
namespace DCGEngine.Database.Models;
public class BaseEntity<TKey> : ITimeTrackedEntity, IDbTrackedEntity
{
[Key]
public virtual TKey Id { get; set; }
public DateTime? DateCreated { get; set; }
public DateTime? DateUpdated { get; set; }
}