mirror of
				https://github.com/Biarity/Sieve.git
				synced 2025-11-04 02:39:00 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			288 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			288 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using Sieve.Attributes;
 | 
						|
 | 
						|
namespace SieveUnitTests.Entities
 | 
						|
{
 | 
						|
    public class BaseEntity
 | 
						|
    {
 | 
						|
        public int Id { get; set; }
 | 
						|
 | 
						|
        [Sieve(CanFilter = true, CanSort = true)]
 | 
						|
        public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow;
 | 
						|
    }
 | 
						|
}
 |