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 { [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; } } }