Sieve/SieveUnitTests/Entities/BaseEntity.cs
2019-11-17 09:15:07 +10:00

14 lines
288 B
C#

using System;
using Sieve.Attributes;
namespace SieveUnitTests.Entities
{
public class BaseEntity
{
public int Id { get; set; }
[Sieve(CanFilter = true, CanSort = true)]
public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
}
}