[#34] First step of not using Bio as Attribute

This commit is contained in:
2024-02-19 22:14:47 +01:00
parent 092c5788a4
commit abbb5a12a6
19 changed files with 219 additions and 59 deletions

View File

@ -31,6 +31,12 @@ namespace Elwig.Models.Entities {
[ForeignKey("AttrId")]
public virtual WineAttr? Attribute { get; private set; }
[Column("cultid")]
public string? CultId { get; set; }
[ForeignKey("CultId")]
public virtual WineCult? Cultivation { get; private set; }
[Column("weight")]
public int Weight { get; set; }
@ -66,14 +72,14 @@ namespace Elwig.Models.Entities {
[ForeignKey("KgNr, RdNr")]
public virtual WbRd? Rd { get; private set; }
[Column("gerebelt")]
public bool IsGerebelt { get; set; }
[Column("net_weight")]
public bool IsNetWeight { get; set; }
[Column("manual_weighing")]
public bool ManualWeighing { get; set; }
public bool IsManualWeighing { get; set; }
[Column("spl_check")]
public bool SplCheck { get; set; }
public bool IsSplCheck { get; set; }
[Column("hand_picked")]
public bool? IsHandPicked { get; set; }