DeliveryAncmtList: Add DefaultKg of member
This commit is contained in:
@ -15,6 +15,7 @@ namespace Elwig.Models.Dtos {
|
||||
("MgNr", "MgNr.", null, 12),
|
||||
("Name1", "Name", null, 40),
|
||||
("Name2", "Vorname", null, 40),
|
||||
("DefaultKg", "Ort", null, 40),
|
||||
("SortId", "Sorte", null, 10),
|
||||
("Weight", "Gewicht", "kg", 20),
|
||||
("CreatedTimestamp", "Angemeldet", null, 35),
|
||||
@ -43,6 +44,7 @@ namespace Elwig.Models.Dtos {
|
||||
public string Name1;
|
||||
public string? Name2;
|
||||
public string AdministrativeName;
|
||||
public string? DefaultKg;
|
||||
public string SortId;
|
||||
public string Variety;
|
||||
public DateTime CreatedTimestamp;
|
||||
@ -60,6 +62,7 @@ namespace Elwig.Models.Dtos {
|
||||
Name1 = m.AdministrativeName1;
|
||||
Name2 = m.AdministrativeName2;
|
||||
AdministrativeName = m.AdministrativeName;
|
||||
DefaultKg = m.DefaultKg?.Name;
|
||||
SortId = a.SortId;
|
||||
Variety = a.Variety.Name;
|
||||
CreatedTimestamp = a.CreatedTimestamp;
|
||||
|
Reference in New Issue
Block a user