Rebrand database project.

This commit is contained in:
2020-02-10 02:23:32 +00:00
parent 091a27c3d9
commit 6e1ba53f3b
198 changed files with 5 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Marechai.Database.Models
{
public class DocumentCompany : BaseModel<int>
{
[Required]
public string Name { get; set; }
public int? CompanyId { get; set; }
[DisplayName("Linked company")]
public virtual Company Company { get; set; }
public virtual ICollection<CompaniesByDocument> Documents { get; set; }
public virtual ICollection<CompaniesByBook> Books { get; set; }
public virtual ICollection<CompaniesByMagazine> Magazines { get; set; }
}
}