Browse Source

Update AbpUserConsts.cs

pull/4527/head
Ahmet Çotur 6 years ago
parent
commit
397abba3ba
  1. 15
      modules/users/src/Volo.Abp.Users.Domain.Shared/Volo/Abp/Users/AbpUserConsts.cs

15
modules/users/src/Volo.Abp.Users.Domain.Shared/Volo/Abp/Users/AbpUserConsts.cs

@ -2,14 +2,29 @@ namespace Volo.Abp.Users
{ {
public class AbpUserConsts public class AbpUserConsts
{ {
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxUserNameLength { get; set; } = 256; public static int MaxUserNameLength { get; set; } = 256;
/// <summary>
/// Default value: 64
/// </summary>
public static int MaxNameLength { get; set; } = 64; public static int MaxNameLength { get; set; } = 64;
/// <summary>
/// Default value: 64
/// </summary>
public static int MaxSurnameLength { get; set; } = 64; public static int MaxSurnameLength { get; set; } = 64;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxEmailLength { get; set; } = 256; public static int MaxEmailLength { get; set; } = 256;
/// <summary>
/// Default value: 16
/// </summary>
public static int MaxPhoneNumberLength { get; set; } = 16; public static int MaxPhoneNumberLength { get; set; } = 16;
} }
} }
Loading…
Cancel
Save