using System;
using System.Collections.Generic;
using AyaNova.Biz;

using System.ComponentModel.DataAnnotations;

namespace AyaNova.Models
{

    public partial class DataFilter
    {
        public long Id { get; set; }
        public uint ConcurrencyToken { get; set; }

        [Required]
        public long OwnerId { get; set; }
        [Required, MaxLength(255)]
        public string Name { get; set; }//max 255 characters ascii set    
        [Required]
        public bool Public { get; set; }
        [Required, MaxLength(255)]
        public string ListKey { get; set; }//max 255 characters ascii set 
        public string Filter { get; set; }//JSON fragment filter collection
        public string Sort { get; set; }//JSON fragment sort collection

    }
}
