12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Hotline.Share.Dtos.Role
- {
- public class RoleDto : AddRoleDto
- {
- public string Id { get; set; }
- public IReadOnlyList<string> AccountIds { get; set; }
- }
- public class AddRoleDto
- {
- public string Name { get; set; }
- public string ClientId { get; set; }
- public string DisplayName { get; set; }
- public string? Description { get; set; }
- }
- public class UpdateRoleDto
- {
- public string Id { get; set; }
-
- public string DisplayName { get; set; }
- public string? Description { get; set; }
- }
- }
|