WmsSnInfoEntity.cs 1.24 KB
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>
        /// 工作令号(erp)
        /// </summary>
        public string correlatedCode { get; set; }


        /// <summary>
        /// 主工单号,可能是子工单号 (oa申请sn填写)
        /// </summary>
        public string ordeCode { get; set; }


        /// <summary>
        /// 项目名称
        /// </summary>
        public string ordeName { 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; }
    }

}