mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-24 06:23:02 +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; }
|
|||
|
}
|
|||
|
}
|