Add document roles.

This commit is contained in:
2019-06-16 23:40:53 +01:00
parent aad8ff251e
commit f9f347937a
7 changed files with 9316 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Cicm.Database.Models
{
public class DocumentRole
{
[Column(TypeName = "char(3)")]
[Key]
[Required]
public string Id { get; set; }
public string Name { get; set; }
public bool Enabled { get; set; }
}
}