Sieve/SieveUnitTests/Entities/Comment.cs

16 lines
324 B
C#
Raw Normal View History

using System;
using Sieve.Attributes;
namespace SieveUnitTests.Entities
2018-02-13 23:43:33 +01:00
{
2018-05-15 01:34:37 +02:00
public class Comment
2018-02-13 23:43:33 +01:00
{
public int Id { get; set; }
[Sieve(CanFilter = true, CanSort = true)]
public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
2018-02-13 23:43:33 +01:00
public string Text { get; set; }
}
}