mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-23 05:52:45 +01:00
18 lines
440 B
C#
18 lines
440 B
C#
using System;
|
|
using Sieve.Attributes;
|
|
using SieveUnitTests.Abstractions.Entity;
|
|
|
|
namespace SieveUnitTests.Entities
|
|
{
|
|
public class BaseEntity : IBaseEntity
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Sieve(CanFilter = true, CanSort = true)]
|
|
public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
|
|
|
|
public string DeletedBy { get; set; }
|
|
public DateTime? DeletedAt { get; set; }
|
|
}
|
|
}
|