Dtos: Use collection initializer
This commit is contained in:
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
namespace Elwig.Models.Dtos {
|
||||
public class DeliveryConfirmationDeliveryData : DataTable<DeliveryConfirmationDeliveryRow> {
|
||||
|
||||
private static readonly (string, string, string?, int)[] FieldNames = new[] {
|
||||
private static readonly (string, string, string?, int)[] FieldNames = [
|
||||
("LsNr", "LsNr.", null, 26),
|
||||
("DPNr", "Pos.", null, 8),
|
||||
("Variety", "Sorte", null, 40),
|
||||
@ -17,7 +17,7 @@ namespace Elwig.Models.Dtos {
|
||||
("Gradation", "Gradation", "°Oe|°KMW", 32),
|
||||
("Buckets", "Flächenbindung", "|kg", 36),
|
||||
("Weight", "Gewicht", "kg", 16),
|
||||
};
|
||||
];
|
||||
|
||||
private readonly int MgNr;
|
||||
|
||||
|
Reference in New Issue
Block a user