mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 21:42:38 +01:00
25 lines
842 B
C#
25 lines
842 B
C#
|
using Sieve.Attributes;
|
|||
|
using SieveUnitTests.Entities;
|
|||
|
|
|||
|
namespace SieveUnitTests.Abstractions.Entity
|
|||
|
{
|
|||
|
public interface IPost: IBaseEntity
|
|||
|
{
|
|||
|
[Sieve(CanFilter = true, CanSort = true)]
|
|||
|
string Title { get; set; }
|
|||
|
[Sieve(CanFilter = true, CanSort = true)]
|
|||
|
int LikeCount { get; set; }
|
|||
|
[Sieve(CanFilter = true, CanSort = true)]
|
|||
|
int CommentCount { get; set; }
|
|||
|
[Sieve(CanFilter = true, CanSort = true)]
|
|||
|
int? CategoryId { get; set; }
|
|||
|
[Sieve(CanFilter = true, CanSort = true)]
|
|||
|
bool IsDraft { get; set; }
|
|||
|
string ThisHasNoAttribute { get; set; }
|
|||
|
string ThisHasNoAttributeButIsAccessible { get; set; }
|
|||
|
int OnlySortableViaFluentApi { get; set; }
|
|||
|
Comment TopComment { get; set; }
|
|||
|
Comment FeaturedComment { get; set; }
|
|||
|
}
|
|||
|
}
|