mirror of https://github.com/abpframework/abp.git
6 changed files with 20 additions and 7 deletions
@ -1,12 +1,13 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.ObjectExtending; |
|||
using Volo.Abp.Validation; |
|||
|
|||
namespace Volo.Abp.TenantManagement |
|||
{ |
|||
public abstract class TenantCreateOrUpdateDtoBase : ExtensibleObject |
|||
{ |
|||
[Required] |
|||
[StringLength(TenantConsts.MaxNameLength)] |
|||
[DynamicStringLength(typeof(TenantConsts), nameof(TenantConsts.MaxNameLength))] |
|||
public string Name { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue