using System.Collections.Generic;
using System.Text.Json.Serialization;
orderNo = string.Format("ON{0:D4}", i);
public string orderNo { get; set; } = "ON015";
public string shipmentOrDeclarationNo { get; set; } = "SN015";
public string orderStatus { get; set; } = "Pending";
public string reqExWorks { get; set; } = DateTime.Now.ToString("O");
public string reqInStore { get; set; } =DateTime.Now.ToString("O");
public string estimatedDateOfDeparture { get; set; } = DateTime.Now.ToString("O");
public string estimatedDateOfArrival { get; set; } = DateTime.Now.ToString("O");
public string portOfLoading { get; set; } = "portOfLoading";
public string portOfDischarge { get; set; } = "portOfDischarge";
public string origin { get; set; } = "origin";
public string destination { get; set; } = "destination";
public string supplier { get; set; } = "supplier";
public string buyer { get; set; } = "buyer";
public string incoterms { get; set; } = "incoterms";
public string deliverTo { get; set; } = "deliverTo";
public string transportMode { get; set; } = "transportMode";
public string orderDate { get; set; } = DateTime.Now.ToString("O");
public string goodsDescription { get; set; } = "goodsDescription";
public string containerMode { get; set; } = "containerMode";
public string preAdviceID { get; set; } = "preAdviceID";
public static void Main()
List<Order> orders = new();
for (int i = 100; i < 120; i++)
Console.WriteLine(JsonSerializer.Serialize(new Order(i)) + ", ");