using System;
using System.Diagnostics.CodeAnalysis;

namespace DataBase.Entities.Models
{
    [ExcludeFromCodeCoverage]
    public class GlobalConfiguration
    {
        public int Id { get; set; }
        public string Label { get; set; }
        public string Type { get; set; }
        public string ProKey { get; set; }
        public string ProValue { get; set; }
        public string Placeholder { get; set; }
        public bool Active { get; set; }
        public bool Editable { get; set; }
        public string Pattern { get; set; }
        public int Min { get; set; }
        public int Max { get; set; }
        public string Options { get; set; }
        public string HelpText { get; set; }
        public string DefaultValue { get; set; }
        public int FieldOrder { get; set; }
        public bool Visible { get; set; }
        public bool Deleted { get; set; }
        public DateTime CreatedOn { get; set; }
        public DateTime UpdatedOn { get; set; }

        public string ErrorText { get; set; }

        // For pagination
        public long TotalRecords { get; set; }
        public long TotalPages { get; set; }
    }
}
