26 lines
425 B
C#

using System.ComponentModel.DataAnnotations;
namespace Marco.Pms.Model.Entitlements
{
public class Module
{
public Module()
{
Key = Guid.NewGuid().ToString();
}
[Key]
public Guid Id { get; set; }
[Required]
public string? Name { get; set; }
public string? Description { get; set; }
public string Key { get; set; }
}
}