mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-26 23:25:06 +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; }
|
|
}
|
|
}
|