Add document company.

This commit is contained in:
2019-06-17 00:42:45 +01:00
parent 07da0eec75
commit 3c5b73f5cf
7 changed files with 7732 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace Cicm.Database.Models
{
public class DocumentCompany : BaseModel<int>
{
[Required]
public string Name { get; set; }
public int? CompanyId { get; set; }
public virtual Company Company { get; set; }
}
}