Files
Backend-Api/AccountManagement.Application.Contracts/Role/CreateRole.cs
2025-11-26 13:37:04 +03:30

19 lines
537 B
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using _0_Framework.Application;
namespace AccountManagement.Application.Contracts.Role
{
public class CreateRole
{
[Required(ErrorMessage = ValidationMessages.IsRequired)]
public string Name { get; set; }
public List<int> Permissions { get; set; }
/// <summary>
/// لیست پرمیشن های پروگرام منیجر
/// </summary>
public List<int> PmPermissions { get; set; }
}
}