| 1234567891011121314151617181920212223 |
- using System.ComponentModel.DataAnnotations;
- using Abp.Application.Services.Dto;
- using Abp.AutoMapper;
- using WeOnlineApp.MultiTenancy;
- using IwbZero.MultiTenancy;
- namespace WeOnlineApp.BaseSystem.Tenants.Dto
- {
- [AutoMapTo(typeof(Tenant)), AutoMapFrom(typeof(Tenant))]
- public class TenantDto : 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; }
- }
- }
|