mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-27 04:33:23 +02:00
Allowed configuring properties with identical name
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Sieve.Attributes;
|
||||
using SieveUnitTests.ValueObjects;
|
||||
|
||||
namespace SieveUnitTests.Entities
|
||||
{
|
||||
@@ -7,6 +8,10 @@ namespace SieveUnitTests.Entities
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public Name AuthorFirstName { get; set; }
|
||||
|
||||
public Name AuthorLastName { get; set; }
|
||||
|
||||
[Sieve(CanFilter = true, CanSort = true)]
|
||||
public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
|
||||
|
||||
|
Reference in New Issue
Block a user