DeliveryAncmtList: Add DefaultKg of member

This commit is contained in:
2024-09-21 21:57:58 +02:00
parent 648c406ad2
commit 165770fa37
3 changed files with 16 additions and 10 deletions

View File

@ -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;