Authorization, Shipments - Batch/Print views.

This commit is contained in:
Stoyan Zlatev
2023-04-05 15:05:33 +02:00
parent fdfb42da9e
commit 220308088f
41 changed files with 909 additions and 86 deletions
@@ -0,0 +1,19 @@
namespace LaaProductionWeb.Services.Models
{
using System.ComponentModel.DataAnnotations;
public class PermissionsModel
{
public int UserId { get; set; }
[Display(Name = "Vorname")]
[Required(ErrorMessage = "Die Vorname ist erforderlich.")]
public string FirstName { get; set; }
[Display(Name = "Name")]
[Required(ErrorMessage = "Die Name ist erforderlich.")]
public string LastName { get; set; }
public UserRole Role { get; set; }
}
}