| 1234567891011121314151617181920212223242526272829303132333435 |
- using System.ComponentModel.DataAnnotations;
- using Abp.AutoMapper;
- using AutoMapper;
- using AutoMapper.Configuration.Annotations;
- using WeApp.Authorization.Users;
- using IwbZero.Authorization.Base.Users;
- namespace WeApp.BaseSystem.Users.Dto
- {
- [AutoMapTo(typeof(User))]
- public class UserCreateDto
- {
- [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; }
- }
- }
|