Files
2025-02-26 23:42:19 +01:00

12 lines
350 B
C#

using System.ComponentModel.DataAnnotations;
using NJsonSchema.Annotations;
namespace OpenWarehouse.auth.lib.Model.Role;
public class AddRoleToUserModel
{
[NotNull, MinLength(1), MaxLength(40)]
public string? UserIdentify { get; set; }
[NotNull, MinLength(1), MaxLength(40)]
public string? RoleIdentify { get; set; }
}