using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.AutoMapper; using WeApp.MultiTenancy; using IwbZero.MultiTenancy; namespace WeApp.BaseSystem.Tenants.Dto { [AutoMapTo(typeof(Tenant))] public class TenantUpdateDto : EntityDto { [Required] [StringLength(TenantBase.MaxTenancyNameLength)] [RegularExpression(TenantBase.TenancyNameRegex)] public string TenancyName { get; set; } [Required] [StringLength(TenantBase.MaxNameLength)] public string Name { get; set; } public bool IsActive { get; set; } } }