Add companies by document.

This commit is contained in:
2019-06-17 00:50:33 +01:00
parent 3c5b73f5cf
commit fa28ee7d4f
8 changed files with 7785 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Cicm.Database.Models
@@ -8,6 +9,7 @@ namespace Cicm.Database.Models
public string Name { get; set; }
public int? CompanyId { get; set; }
public virtual Company Company { get; set; }
public virtual Company Company { get; set; }
public virtual ICollection<CompaniesByDocument> Documents { get; set; }
}
}