2019-03-24 19:45:23 +01:00
|
|
|
|
using System;
|
|
|
|
|
using Sieve.Attributes;
|
2020-11-03 10:42:41 +01:00
|
|
|
|
using SieveUnitTests.Abstractions.Entity;
|
2019-03-24 19:45:23 +01:00
|
|
|
|
|
|
|
|
|
namespace SieveUnitTests.Entities
|
|
|
|
|
{
|
2020-11-03 10:42:41 +01:00
|
|
|
|
public class BaseEntity : IBaseEntity
|
2019-03-24 19:45:23 +01:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Sieve(CanFilter = true, CanSort = true)]
|
|
|
|
|
public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
|
2023-02-22 23:11:34 +01:00
|
|
|
|
|
|
|
|
|
public string DeletedBy { get; set; }
|
|
|
|
|
public DateTime? DeletedAt { get; set; }
|
2019-03-24 19:45:23 +01:00
|
|
|
|
}
|
|
|
|
|
}
|