using System.Collections.Generic;

namespace OnlineSalesAutoCrop.CoreAPI.Models.Objects.Setups
{
	public class AuthModule
	{
		public string ModuleName { get; set; }
		public string ModuleId { get; set; }
		public int PendingItems { get; set; }
	}

	public class PendingAuthModule : AuthModule
	{
		public bool BasicData { get; set; }
		public string ModuleHref { get; set; }
		public int PendingAuthItems { get; set; }
		public int TotalPending => PendingAuthItems + PendingItems;
	}

	public class DynamicColumn
	{
		public string Field { get; set; }
		public string Title { get; set; }
		public int? Width { get; set; }
	}

	public class DynamicColumnExt : DynamicColumn
	{
		public string Alignment { get; set; }
		public string Format { get; set; }
		public bool Hidden { get; set; }
		public int? FontWeight { get; set; }
		public bool MakeFooter { get; set; }
		public string FooterFormat { get; set; }
		public int? FooterType { get; set; }
	}

	public class GraphSeriesItem
	{
		public string Type { get; set; }
		public bool Visible { get; set; }
		public string Name { get; set; }
		public List<decimal> Data { get; set; }
	}
}