Update models because contracts were removed
This commit is contained in:
@ -2,15 +2,15 @@ using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Elwig.Models {
|
||||
[Table("area_commitment_attribute"), PrimaryKey("VNr", "AttrId")]
|
||||
[Table("area_commitment_attribute"), PrimaryKey("FbNr", "AttrId")]
|
||||
public class AreaComAttr {
|
||||
[Column("vnr")]
|
||||
public int VNr { get; set; }
|
||||
[Column("fbnr")]
|
||||
public int FbNr { get; set; }
|
||||
|
||||
[Column("attrid")]
|
||||
public string AttrId { get; set; }
|
||||
|
||||
[ForeignKey("VNr")]
|
||||
[ForeignKey("FbNr")]
|
||||
public virtual AreaCom AreaCom { get; private set; }
|
||||
|
||||
[ForeignKey("AttrId")]
|
||||
|
Reference in New Issue
Block a user