using System;

namespace XLAB2
{
    public sealed class FrpdDirectoryItem
    {
        public string ActivityNames { get; set; }

        public DateTime? CreatedOn { get; set; }

        public string Guid { get; set; }

        public int Id { get; set; }

        public DateTime? LiquidatedOn { get; set; }

        public string LocalCode { get; set; }

        public string Name { get; set; }

        public int? ParentId { get; set; }

        public string ParentName { get; set; }
    }

    public sealed class FrpdvdDirectoryItem
    {
        public string ActivityName { get; set; }

        public int ActivityId { get; set; }

        public int FrpdId { get; set; }

        public int Id { get; set; }
    }

    internal static class FrpdDirectoryRules
    {
        public const int GuidMaxLength = 50;

        public const int LocalCodeMaxLength = 20;

        public const int NameMaxLength = 80;
    }
}
