laatzen/LaaProductionWeb/LaaProductionWeb.Services/Models/Employee.cs
2023-06-01 10:25:33 +02:00

17 lines
370 B
C#

namespace LaaProductionWeb.Services.Models
{
using System;
using System.Collections.Generic;
public class Employee
{
public string Name { get; set; }
public bool IsValid
=> !string.IsNullOrWhiteSpace(this.Name);
public IEnumerable<string> Permissions { get; set; }
= Array.Empty<string>();
}
}