Rework models
This commit is contained in:
@ -6,27 +6,27 @@ namespace WGneu.Models {
|
||||
[Table("AT_plz"), PrimaryKey("Plz")]
|
||||
public class AT_Plz {
|
||||
[Column("plz")]
|
||||
public int Plz { get; set; }
|
||||
public int Plz { get; private set; }
|
||||
|
||||
[Column("ort")]
|
||||
public string Ort { get; set; }
|
||||
public string Ort { get; private set; }
|
||||
|
||||
[Column("blnr")]
|
||||
public int BlNr { get; }
|
||||
public int BlNr { get; private set; }
|
||||
|
||||
[Column("type")]
|
||||
public string Type { get; }
|
||||
public string Type { get; private set; }
|
||||
|
||||
[Column("internal")]
|
||||
public bool Internal { get; set; }
|
||||
public bool IsInternal { get; private set; }
|
||||
|
||||
[Column("addressable")]
|
||||
public bool Addressable { get; set; }
|
||||
public bool IsAddressable { get; private set; }
|
||||
|
||||
[Column("po_box")]
|
||||
public bool PoBox { get; set; }
|
||||
public bool IsPoBox { get; private set; }
|
||||
|
||||
[InverseProperty("AtPlz")]
|
||||
public virtual ISet<AT_PlzDest> Orte { get; set; }
|
||||
public virtual ISet<AT_PlzDest> Orte { get; private set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user