| 12345678910111213141516171819202122232425 |
- using System.ComponentModel.DataAnnotations;
- using Abp.Application.Services.Dto;
- using Abp.AutoMapper;
- using WeOnlineApp.Authorization.Roles;
- using IwbZero.Authorization.Base.Roles;
- namespace WeOnlineApp.BaseSystem.Roles.Dto
- {
- [AutoMapTo(typeof(Role))]
- public class RoleUpdateDto : EntityDto<int>
- {
- [Required]
- [StringLength(RoleBase.MaxNameLength)]
- public virtual string Name { get; set; }
- [Required]
- [StringLength(RoleBase.MaxDisplayNameLength)]
- public virtual string DisplayName { get; set; }
- [StringLength(Role.MaxDescriptionLength)]
- public string Description { get; set; }
- public int RoleType { get; set; }
- public int AccountType { get; set; }
- }
- }
|