
using System.Collections.Generic;

namespace FactorySystemModel.BusinessModel
{
    /// <summary>
    /// MDM对接入参模型
    /// </summary>
    public class MDMRequestModel
    {
        public MDMRequestModel(string code1 = "mdm", string code2 = "sap_material")
        {
            systemCode = code1;
            gdCode = code2;
            masterData = new List<Dictionary<string, object>>();
            masterData.Add(new Dictionary<string, object>());
        }
        /// <summary>
        /// 集成系统编码
        /// </summary>
        public string systemCode { get; set; }
        /// <summary>
        /// 主数据类型
        /// </summary>
        public string gdCode { get; set; }
        /// <summary>
        /// 主数据类型
        /// </summary>
        public List<Dictionary<string, object>> masterData { get; set; }
    }

    public class MDMResponseModel
    {
        public bool success { get; set; }
        public string message { get; set; }
        public string data { get; set; }
    }

    public class MDMDataResponseModel
    {
        public string id { get; set; }
        public string mdm_code { get; set; }
    }
}

