namespace Identity.Api.Clean.Shared.Consts;
public static class OrganizationUnitConsts
{
///
/// Maximum length of the DisplayName property.
///
public static int MaxDisplayNameLength { get; set; } = 128;
///
/// Maximum depth of an OU hierarchy.
///
public const int MaxDepth = 16;
///
/// Length of a code unit between dots.
///
public const int CodeUnitLength = 5;
///
/// Maximum length of the Code property.
///
public const int MaxCodeLength = MaxDepth * (CodeUnitLength + 1) - 1;
}