Sieve/SieveUnitTests/Entities/BaseEntity.cs

15 lines
344 B
C#
Raw Permalink Normal View History

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;
}
}