Initial Commit ...

This commit is contained in:
2024-01-25 04:37:38 +03:30
commit c5d69522a9
26 changed files with 1252 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
namespace xModels.Base {
/// <summary>
/// Base Entity Class
/// </summary>
/// <typeparam name="T"></typeparam>
public abstract class XBaseEntity<T> {
/// <summary>
/// Entity Id
/// </summary>
/// <value>entity unique id</value>
[Key]
[Required]
public T Id { get; set; }
/// <summary>
/// Provided Soft Delete Behaviour ...
/// </summary>
/// <value></value>
public bool Deleted { get; set; }
}
}