mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
19 lines
677 B
C#
19 lines
677 B
C#
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; }
|
|
}
|
|
} |