|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
public class BCAPIBaseResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 回执代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提示信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string msg { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据集
|
|
|
|
|
/// </summary>
|
|
|
|
|
public BCAPIBaseData data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class BCOrDraftAPIBaseData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件下载路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string path { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class BCAPIBaseData : BCOrDraftAPIBaseData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 解析详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
public BCAPIBaseDataParse parse { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class BCAPIBaseDataParse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 解析回执代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 解析提示信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string message { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 解析提示信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public BCAPIBaseDataParseModel data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class BCAPIBaseDataParseModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModelID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModelName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BC解析明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<BCReadModel> BCList { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DraftAPIBaseResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 回执代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提示信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string msg { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据集
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DraftAPIBaseData data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DraftAPIBaseData : BCOrDraftAPIBaseData
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|