WmsSnInfoEntity.cs 985 Bytes
using System.Collections.Generic;

namespace Hh.Mes.POJO.ApiEntity
{
    /// <summary>
    /// WMS-SN信息推送IOT
    /// </summary>
    public class WmsSnInfoEntity
    {
        /// <summary>
        /// I:新增 D:删除
        /// </summary>
        public string Types { get; set; }

        public List<Result> Result { get; set; } = new List<Result>();
    }


    public class Result
    {
        /// <summary>
        /// 序列号
        /// </summary>
        public string Sn { get; set; }

        /// <summary>
        /// 项目号或者工单号
        /// </summary>
        public string CorrelatedCode { get; set; }


        public string EquipmentType { get; set; }
        public string User { get; set; }

        /// <summary>
        /// 部件list
        /// </summary>
        public List<Components> Components { get; set; } = new List<Components>();
    }

    public class Components
    {
        public string PartCode { get; set; }
    }

}