using System.ComponentModel.DataAnnotations; using Abp.AutoMapper; using WeOnlineApp.Authorization.Roles; using IwbZero.Authorization.Base.Roles; namespace WeOnlineApp.BaseSystem.Roles.Dto { [AutoMapTo(typeof(Role))] public class RoleCreateDto { [Required] [StringLength(RoleBase.MaxNameLength)] public string Name { get; set; } [Required] [StringLength(RoleBase.MaxDisplayNameLength)] public string DisplayName { get; set; } [StringLength(Role.MaxDescriptionLength)] public string Description { get; set; } public int RoleType { get; set; } public int AccountType { get; set; } //public virtual bool IsStatic { get; set; } //public virtual bool IsDefault { get; set; } } }