| 123456789101112131415161718192021222324252627282930313233 |
- using System.ComponentModel.DataAnnotations;
- using Abp.Application.Services.Dto;
- using Abp.AutoMapper;
- using AutoMapper;
- using WeApp.Authorization.Users;
- using IwbZero.Authorization.Base.Users;
- namespace WeApp.BaseSystem.Users.Dto
- {
- [AutoMapTo(typeof(User))]
- public class UserUpdateDto : EntityDto<long>
- {
- [Required]
- [StringLength(UserBase.MaxUserNameLength)]
- public string UserName { get; set; }
- public int UserType { get; set; }
- [Required]
- [StringLength(UserBase.MaxEmailAddressLength)]
- public string EmailAddress { get; set; }
- [Required]
- [StringLength(UserBase.MaxNameLength)]
- public string Name { get; set; }
- [StringLength(UserBase.MaxPhoneNumberLength)]
- public string PhoneNumber { get; set; }
- public bool IsActive { get; set; }
- [IgnoreMap]
- public string RoleNames { get; set; }
- public int? AccountType { get; set; }
- [StringLength(UserBase.MaxAccountNoLength)]
- public string AccountNo { get; set; }
- }
- }
|