namespace Indotalent.Shared.Consts;

public static class GlobalConsts
{
    public const string AppInitial = "CRM";
    public const string AppName = "CRM: Customer Relationship Management";
    public const string AppTagline = "The Ultimate Bridge Between Your Business and Your Customers.";

    public const int StringLengthId = 36;
    public const int StringLengthShort = 500;
    public const int StringLengthMedium = 1000;
    public const int StringLengthLong = 4000;


    public const int ODataMaxTop = 5000;


    public const string BehaviourError = nameof(BehaviourError);
    public const string GlobalError = nameof(GlobalError);

    public static class Roles
    {
        public const string Administrator = "Administrator";
        public const string Manager = "Manager";
        public const string Employee = "Employee";
    }

    public static class Formatting
    {
        public const string DateFormat = "dd MMM yyyy";
        public const string DateTimeFormat = "dd MMM yyyy HH:mm";
        public const string CurrencyCulture = "id-ID";
    }

    public static class Pagination
    {
        public const int DefaultPageSize = 10;
        public static readonly int[] PageSizeOptions = { 10, 25, 50, 100 };
    }
}