using System.ComponentModel.DataAnnotations;

namespace RobotNet.RobotShares.VDA5050.Order;

#nullable disable

public class OrderMsg
{
    [Required]
    public uint HeaderId { get; set; }
    [Required]
    public string Timestamp { get; set; } = "";
    [Required]
    public string Version { get; set; } = "";
    [Required]
    public string Manufacturer { get; set; } = "";
    [Required]
    public string SerialNumber { get; set; } = "";
    [Required]
    public string OrderId { get; set; } = "";
    [Required]
    public int OrderUpdateId { get; set; }
    public string ZoneSetId { get; set; } = "";
    [Required]
    public Node[] Nodes { get; set; } = [];
    [Required]
    public Edge[] Edges { get; set; } = [];

}
