using Abp.AutoMapper; using WeApp.BaseSystem.Sessions.Dto; namespace WeApp.Models.Account { [AutoMapFrom(typeof(GetCurrentLoginInformationsOutput))] public class TenantChangeViewModel { public TenantLoginInfoDto Tenant { get; set; } public TenantChangeViewModel(string name = "", string tenancyName = "") { Tenant = Tenant ?? new TenantLoginInfoDto(); Tenant.Name = name; Tenant.TenancyName = tenancyName; } } }