using ModelTools.BindingModels;
using System.ComponentModel.DataAnnotations;
namespace SecurityBusinessLogic.BindingModels
{
///
/// Получение роли
///
public class RoleGetBindingModel : GetBindingModel { }
///
/// Сохранение роли
///
public class RoleSetBindingModel : SetBindingModel
{
[Required(ErrorMessage = "required")]
public string RoleName { get; set; }
[Required(ErrorMessage = "required")]
public int RolePriority { get; set; }
}
}