using System; using Abp.Application.Services.Dto; using Abp.AutoMapper; using AutoMapper; using WeApp.Authorization.Users; namespace WeApp.BaseSystem.Users.Dto { [AutoMapTo(typeof(User)), AutoMapFrom(typeof(User))] public class UserDto : EntityDto { public string UserName { get; set; } public int UserType { get; set; } public string EmailAddress { get; set; } public string Name { get; set; } public string PhoneNumber { get; set; } public bool IsActive { get; set; } [IgnoreMap] public string[] Roles { get; set; } public int? AccountType { get; set; } public string AccountNo { get; set; } public string ImagePath { get; set; } public DateTime? LastLoginTime { get; set; } public DateTime? LastModificationTime { get; set; } public DateTime CreationTime { get; set; } public string LastModifierUserName { get; set; } } }