Sieve/SieveUnitTests/Entities/BaseEntity.cs

18 lines
440 B
C#
Raw 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;
public string DeletedBy { get; set; }
public DateTime? DeletedAt { get; set; }
}
}