using System;
using Qusion.Framework.Data;

namespace Qusion.WebApp.Areas.cms.Models.Query
{
    public abstract class TrackableQueryInput : QueryInput
    {
        protected TrackableQueryInput()
        {
            SortBy = "CreatedOn";
            SortDirection = SortOrder.Descending;
        }

        public virtual string CreatedBy { get; set; }
        
        public virtual string Owner { get; set; }

        public virtual DateTime CreatedOn { get; set; }

        public virtual string UpdatedBy { get; set; }

        public virtual DateTime UpdatedOn { get; set; }
    }
}