26 lines
428 B
C#
26 lines
428 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Marco.Pms.Model.Entitlements
|
|
{
|
|
public class Module
|
|
{
|
|
|
|
public Module()
|
|
{
|
|
Key = Guid.NewGuid().ToString();
|
|
}
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
}
|
|
}
|