Sieve/SieveUnitTests/Entities/Comment.cs
Matt Furden d792813cd5 Allow Filters on different sources to share the same name
Allows Posts and Comments to both use the IsNew filter with their own implementations.
2018-06-15 01:41:01 -07:00

16 lines
324 B
C#

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