| 12345678910111213141516171819202122232425262728 |
- using System.ComponentModel.DataAnnotations;
- using Abp.AutoMapper;
- using WeApp.Authorization.Roles;
- using IwbZero.Authorization.Base.Roles;
- namespace WeApp.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; }
- }
- }
|