using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Redis.RedisEntities
{
    public class ToolMS: RedisEntityBase
    {
        public int mid { get; set; }
        public string spindle { get; set; }
        public string tool { get; set; }
        public string pn { get; set; }
        public List<ToolMSNode> node { get; set; }
    }
    public class ToolMSNode
    {
        public int type { get; set; }
        public string threshold { get; set; }
        public string percent { get; set; }
    }
    public class ToolRefrence
    {
        public int mid { get; set; }
        public string spindle { get; set; }
        public string tool { get; set; }
        public string pn { get; set; }
        public List<ToolRefrenceNode> node { get; set; }
    }
    public class ToolRefrenceNode
    {
        public int id { get; set; }
        public int picIndex { get; set; }
        public string name { get; set; }
        public string beginTime { get; set; }
        public string endTime { get; set; }
        public string guid { get; set; }
    }
}
