21 lines
579 B
C#
21 lines
579 B
C#
using ModuleTools.Attributes;
|
|
using ModuleTools.BindingModels;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DepartmentBusinessLogic.BindingModels
|
|
{
|
|
public class EmployeePostGetBindingModel : GetBindingModel
|
|
{
|
|
}
|
|
|
|
public class EmployeePostSetBindingModel : SetBindingModel
|
|
{
|
|
[Required(ErrorMessage = "required")]
|
|
[MapConfiguration("EmployeePostName")]
|
|
public string EmployeePostName { get; set; }
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
[MapConfiguration("Order")]
|
|
public int Order { get; set; }
|
|
}
|
|
} |