Sieve/SieveUnitTests/Entities/BaseEntity.cs

14 lines
288 B
C#
Raw Normal View History

using System;
using Sieve.Attributes;
namespace SieveUnitTests.Entities
{
2019-11-17 00:15:07 +01:00
public class BaseEntity
{
public int Id { get; set; }
[Sieve(CanFilter = true, CanSort = true)]
public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
}
}