TG.WXCRM.V4/Core.DTO/Ord/orderGet.cs

149 lines
4.4 KiB
C#

namespace CRM.Core.DTO.Ord
{
//订单车查询接口测试
/*{ "retCode":10000,
"retMsg":"Success",
"stOrderInfo":{
"orderid":"1837211072111016",
"username":"qbj",
"productid":"UPCFJC_20181101170549",
"count":1,
"totaldays":365,
"totalprice":0,
"mobile":"",
"status":220,
"isrefund":0,
"bustype":1,
"source":2,
"plat":0,
"ch":21001,
"couponid":"",
"ip":"172.18.10.70",
"cancelinfo":{
"canceluser":"",
"canceltime":0,
"cancelAmount":0
},
"ctime":1541567634,
"ext1":"{\"isFree\":1,\"business_name\":\"趋势锦囊\",\"business_type\":0,\"tradetype\":1,\"payeename\":\"\",\"payerno\":\"20000001\"}",
"producttype":0,
"flag":"",
"otime":1541567634,
"productname":"趋势锦囊"
}
}*/
/*
{"retCode":10000,
"retMsg":"Success",
"stOrderInfo":{
"orderid":"1837211122111315",
"username":"qbj102",
"productid":"UPCFJC_20181101170549",
"count":1,
"totaldays":365,
"totalprice":5600000,
"mobile":"15112168564",
"status":220,
"isrefund":0,
"bustype":1,
"source":1,
"plat":0,
"ch":21011,
"couponid":"",
"ip":"120.197.36.210",
"cancelinfo":{
"canceluser":"",
"canceltime":0,
"cancelAmount":0
},"
ctime":1542012074,
"ext1":"{\"business_name\":\"趋势锦囊\",\"business_type\":0,\"tradetype\":1,\"payeename\":\"\",\"payerno\":\"20000022\"}","producttype":0,"flag":"","otime":1542021906,"productname":"趋势锦囊"
}
}
*/
/*{"retCode":10000,
"retMsg":"Success",
"stOrderInfo":
{"orderid":"1837211162110813",
"username":"up0000017",
"productid":"UPCFJC_20181101170549",
"count":1,
"totaldays":365,
"totalprice":5600000,
"mobile":"154****6542",
"status":220,
"isrefund":0,
"bustype":1,
"source":1,
"plat":0,
"ch":5001,
"couponid":"",
"ip":"120.197.36.210",
"cancelinfo":{"canceluser":"","canceltime":0,"cancelAmount":0},
"ctime":1542358587,
"ext1":"{\"business_name\":\"趋势锦囊\",\"business_type\":0,\"tradetype\":1,\"payeename\":\"\",\"payerno\":\"20000039\"}",
"producttype":0,
"flag":"",
"otime":1542358907,
"productname":"趋势锦囊"
}
}
*/
public class orderGet
{
public int retCode { get; set; }
public string retMsg { get; set; }
public OrderInfo stOrderInfo { get; set; }
}
public class OrderInfo
{
public string orderid { get; set; }
public string username { get; set; }
public string productid { get; set; }
public int count { get; set; }
public int totaldays { get; set; }
public decimal totalprice { get; set; }
public string mobile { get; set; }
public int status { get; set; }
public int isrefund { get; set; }
public int bustype { get; set; }
public int source { get; set; }
public int plat { get; set; }
public int ch { get; set; }
public string couponid { get; set; }
public string ip { get; set; }
public CancelInfo cancelinfo { get; set; }
public long ctime { get; set; }
public string ext1 { get; set; }
public string producttype { get; set; }
public string flag { get; set; }
public long otime { get; set; }
public string productname { get; set; }
public int currch { get; set; }
public int orich { get; set; }
}
public class CancelInfo
{
public string canceluser { get; set; }
public long canceltime { get; set; }
public decimal cancelAmount { get; set; }
}
public class SupplyOrderExt
{
public int? eid { get; set; }
public string outOrderNo { get; set; }
public string wXShopOrderNo { get; set; }
/// <summary>
/// 新增升级订单关系
/// </summary>
public string[] oldOutOrderidList { get; set; }
public string[] oldpointOrderIds { get; set; }
}
}