zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Models/Roles/RoleUpdateRequestModel.cs
2023-12-05 17:22:48 +08:00

11 lines
363 B
C#

using System.ComponentModel.DataAnnotations;
namespace ZeroFramework.IdentityServer.API.Models.Roles
{
public class RoleUpdateRequestModel
{
[StringLength(20, MinimumLength = 6, ErrorMessage = "The field {0} must be a string with a minimum length of {2} and a maximum length of {1}.")]
public string? DisplayName { get; set; }
}
}