Files
marechai/Marechai.Database/Models/DocumentRole.cs

15 lines
382 B
C#
Raw Normal View History

2019-06-16 23:40:53 +01:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2020-02-10 02:10:18 +00:00
namespace Marechai.Database.Models
2019-06-16 23:40:53 +01:00
{
public class DocumentRole
{
[Column(TypeName = "char(3)")]
[Key]
[Required]
public string Id { get; set; }
public string Name { get; set; }
public bool Enabled { get; set; }
}
}