You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
322 B
19 lines
322 B
using System.ComponentModel.DataAnnotations;
|
|
using Connected;
|
|
using Connected.Annotations;
|
|
|
|
namespace Connected.Security.Identity;
|
|
|
|
public class RoleArgs : IDto
|
|
{
|
|
[Required]
|
|
[MaxLength(128)]
|
|
public string Name { get; init; }
|
|
}
|
|
|
|
public class RoleUpdateArgs : RoleArgs
|
|
{
|
|
[MinValue(0)]
|
|
public int Id { get; init; }
|
|
}
|