using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class ResquestRouteStaionJson
    {
        public int line { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string product_id { get; set; }

        public DataObj obj { get; set; }
    }

    public class DataObj
    {
        public List<nodeDataArray> nodeDataArray { get; set; }

        public List<linkDataArray> linkDataArray { get; set; }
    }

    public class nodeDataArray
    {
        public string text { get; set; }

        public string key { get; set; }

        public string nodeType { get; set; }

        public decimal locTop { get; set; }

        public decimal locLeft { get; set; }

        public string nodeHeight { get; set; }

        public string nodeWidth { get; set; }

        public string bgColor { get; set; }

        /// <summary>
        /// 工站id
        /// </summary>
        public int station { get; set; }
    }

    public class linkDataArray
    {
        public string from { get; set; }

        public string to { get; set; }

        public string routerId { get; set; }

        /// <summary>
        /// 记录结果
        /// </summary>
        public string label { get; set; }

        public string[] sourceAnchors { get; set; }

        public string[] targetAnchors { get; set; }
    }
}
