This commit is contained in:
David Štaleker
2023-05-23 14:57:29 +02:00
parent a45fe73754
commit 257f8730b2
10 changed files with 2556 additions and 119 deletions

View File

@@ -17,15 +17,15 @@ namespace EveryThing.Models.CodeTable
[ForeignKey("Company")]
public int IdCompanyFk { get; set; }
[Required]
[Display(Name = "Vrsta")]
public string Type { get; set; }
[Required]
[Display(Name = "Vsebina")]
public string Content { get; set; }
// ForeingKey
public CodeTableCompany Company { get; set; }
// Partner
[InverseProperty("CodeTablePrePostText")]
public virtual ICollection<CodeTablePrePostTextLink> CodeTablePrePostTextLinks { get; set; }
}
}