mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 05:22:57 +01:00
17 lines
358 B
C#
17 lines
358 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;
|
|
|
|
[Sieve(CanFilter = true)]
|
|
public string Text { get; set; }
|
|
}
|
|
}
|