You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

858 lines
24 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.OtherWaiMai
{
public class ShopMeituanWaiMaiOrderInfoByidResponse
{
//==================================private==================================
#region field
//app门店ID
private string app_poi_code;
//餐厅平均送餐时间,单位为秒
private string avg_send_time;
//忌口或备注
private string caution;
//城市Id
private string cityId;
//创建时间
private string ctime;
//门店当天的推单流水号
private int day_seq;
//用户预计送达时间“立即送达”时为0
private string delivery_time;
//用餐人数
private int dinners_number;
//是否需要发票,1-需要发票0-不需要
private int has_invoiced;
//发票抬头,XXX有限公司,如果用户选择需要发票,此字段是用户填写的发票抬头
private string invoice_title;
//纳税人识别号
private string taxpayer_id;
//用户是否收藏此门店true, false
private string is_favorites;
//用户是否第一次在此门店点餐true, false
private string is_poi_first_order;
//(是否是第三方配送平台配送,0表否1表是
private int is_third_shipping;
//实际送餐地址纬度,美团使用的是高德坐标系
private decimal latitude;
//实际送餐地址经度,美团使用的是高德坐标系
private decimal longitude;
//配送单取消时间
private int logistics_cancel_time;
//配送类型码(参考配送类型码)
private string logistics_code;
//配送单完成时间
private int logistics_completed_time;
//配送单确认时间
private int logistics_confirm_time;
//骑手电话
private string logistics_dispatcher_mobile;
//骑手姓名
private string logistics_dispatcher_name;
//骑手取单时间
private int logistics_fetch_time;
//配送方ID
private int logistics_id;
//配送方名称
private string logistics_name;
//配送单下单时间
private int logistics_send_time;
//配送订单状态code
private int logistics_status;
//订单取消时间
private int order_cancel_time;
//订单完成时间
private int order_completed_time;
//商户确认时间
private int order_confirm_time;
//订单ID数据库中请用bigint(20)存储此字段)
private string order_id;
//商户收到时间
private string order_receive_time;
//用户下单时间
private string order_send_time;
//原价
private decimal original_price;
//支付类型1表货到付款2表在线支付
private int pay_type;
//商家对账信息的json数据
private string poi_receive_detail;
//收件人地址(
private string recipient_address;
//收件人姓名
private string recipient_name;
//收件人电话
private string recipient_phone;
//送餐员电话
private string shipper_phone;
//门店配送费
private decimal shipping_fee;
//订单状态
private int status;
//总价
private decimal total;
//更新时间
private string utime;
//订单展示ID
private string wm_order_id_view;
//美团商家地址
private string wm_poi_address;
//美团商家ID
private string wm_poi_id;
//美团商家名称
private string wm_poi_name;
//美团商家电话
private string wm_poi_phone;
//取餐类型
private int pickType;
//订单取消原因
private string cancelReason;
//订单取消原因编码
private string cancelReasonCode;
//退单原因
private string refundReason;
//退单原因编码
private string refundReasonCode;
//订单菜品详情,指的是订单中都有哪些菜品
private List<ShopMeituanWaiMaiOrderInfoByiddetailResponse> detail = new List<ShopMeituanWaiMaiOrderInfoByiddetailResponse>();
//订单扩展信息,指的是订单所参加的优惠等信息
private List<ShopMeituanWaiMaiOrderInfoByidExtrasResponse> extras = new List<ShopMeituanWaiMaiOrderInfoByidExtrasResponse>();
//订单来源(0-商家1-餐道)
private string orderType = "0";
#endregion
//==================================public==================================
#region 订单来源(0-商家1-餐道)
[JsonProperty(PropertyName = "orderType")]
/// <summary>
/// app门店ID
/// <summary>
public string OrderType
{
get { return orderType; }
set { orderType = value; }
}
#endregion
#region app_poi_code app门店ID
[JsonProperty(PropertyName = "app_poi_code")]
/// <summary>
/// app门店ID
/// <summary>
public string App_poi_code
{
get { return app_poi_code; }
set { app_poi_code = value; }
}
#endregion
#region avg_send_time 餐厅平均送餐时间,单位为秒
[JsonProperty(PropertyName = "avg_send_time")]
/// <summary>
/// 餐厅平均送餐时间,单位为秒
/// <summary>
public string Avg_send_time
{
get { return avg_send_time; }
set { avg_send_time = value; }
}
#endregion
#region caution 忌口或备注
[JsonProperty(PropertyName = "caution")]
/// <summary>
/// 忌口或备注
/// <summary>
public string Caution
{
get { return caution; }
set { caution = value; }
}
#endregion
#region cityId 城市Id
[JsonProperty(PropertyName = "cityId")]
/// <summary>
/// 城市Id
/// <summary>
public string CityId
{
get { return cityId; }
set { cityId = value; }
}
#endregion
#region ctime 创建时间
[JsonProperty(PropertyName = "ctime")]
/// <summary>
/// 创建时间
/// <summary>
public string Ctime
{
get { return ctime; }
set { ctime = value; }
}
#endregion
#region day_seq 门店当天的推单流水号
[JsonProperty(PropertyName = "day_seq")]
/// <summary>
/// 门店当天的推单流水号
/// <summary>
public int Day_seq
{
get { return day_seq; }
set { day_seq = value; }
}
#endregion
#region delivery_time 用户预计送达时间“立即送达”时为0
[JsonProperty(PropertyName = "delivery_time")]
/// <summary>
/// 用户预计送达时间“立即送达”时为0
/// <summary>
public string Delivery_time
{
get { return delivery_time; }
set { delivery_time = value; }
}
#endregion
#region dinners_number 用餐人数
[JsonProperty(PropertyName = "dinners_number")]
/// <summary>
/// 用餐人数
/// <summary>
public int Dinners_number
{
get { return dinners_number; }
set { dinners_number = value; }
}
#endregion
#region has_invoiced 是否需要发票,1-需要发票0-不需要
[JsonProperty(PropertyName = "has_invoiced")]
/// <summary>
/// 是否需要发票,1-需要发票0-不需要
/// <summary>
public int Has_invoiced
{
get { return has_invoiced; }
set { has_invoiced = value; }
}
#endregion
#region invoice_title 发票抬头,XXX有限公司,如果用户选择需要发票,此字段是用户填写的发票抬头
[JsonProperty(PropertyName = "invoice_title")]
/// <summary>
/// 发票抬头,XXX有限公司,如果用户选择需要发票,此字段是用户填写的发票抬头
/// <summary>
public string Invoice_title
{
get { return invoice_title; }
set { invoice_title = value; }
}
#endregion
#region taxpayer_id 纳税人识别号
[JsonProperty(PropertyName = "taxpayer_id")]
/// <summary>
/// 纳税人识别号
/// <summary>
public string Taxpayer_id
{
get { return taxpayer_id; }
set { taxpayer_id = value; }
}
#endregion
#region is_favorites 用户是否收藏此门店true, false
[JsonProperty(PropertyName = "is_favorites")]
/// <summary>
/// 用户是否收藏此门店true, false
/// <summary>
public string Is_favorites
{
get { return is_favorites; }
set { is_favorites = value; }
}
#endregion
#region is_poi_first_order 用户是否第一次在此门店点餐true, false
[JsonProperty(PropertyName = "is_poi_first_order")]
/// <summary>
/// 用户是否第一次在此门店点餐true, false
/// <summary>
public string Is_poi_first_order
{
get { return is_poi_first_order; }
set { is_poi_first_order = value; }
}
#endregion
#region is_third_shipping (是否是第三方配送平台配送,0表否1表是
[JsonProperty(PropertyName = "is_third_shipping")]
/// <summary>
/// (是否是第三方配送平台配送,0表否1表是
/// <summary>
public int Is_third_shipping
{
get { return is_third_shipping; }
set { is_third_shipping = value; }
}
#endregion
#region latitude 实际送餐地址纬度,美团使用的是高德坐标系
[JsonProperty(PropertyName = "latitude")]
/// <summary>
/// 实际送餐地址纬度,美团使用的是高德坐标系
/// <summary>
public decimal Latitude
{
get { return latitude; }
set { latitude = value; }
}
#endregion
#region longitude 实际送餐地址经度,美团使用的是高德坐标系
[JsonProperty(PropertyName = "longitude")]
/// <summary>
/// 实际送餐地址经度,美团使用的是高德坐标系
/// <summary>
public decimal Longitude
{
get { return longitude; }
set { longitude = value; }
}
#endregion
#region logistics_cancel_time 配送单取消时间
[JsonProperty(PropertyName = "logistics_cancel_time")]
/// <summary>
/// 配送单取消时间
/// <summary>
public int Logistics_cancel_time
{
get { return logistics_cancel_time; }
set { logistics_cancel_time = value; }
}
#endregion
#region logistics_code 配送类型码(参考配送类型码)
[JsonProperty(PropertyName = "logistics_code")]
/// <summary>
/// 配送类型码(参考配送类型码)
/// <summary>
public string Logistics_code
{
get { return logistics_code; }
set { logistics_code = value; }
}
#endregion
#region logistics_completed_time 配送单完成时间
[JsonProperty(PropertyName = "logistics_completed_time")]
/// <summary>
/// 配送单完成时间
/// <summary>
public int Logistics_completed_time
{
get { return logistics_completed_time; }
set { logistics_completed_time = value; }
}
#endregion
#region logistics_confirm_time 配送单确认时间
[JsonProperty(PropertyName = "logistics_confirm_time")]
/// <summary>
/// 配送单确认时间
/// <summary>
public int Logistics_confirm_time
{
get { return logistics_confirm_time; }
set { logistics_confirm_time = value; }
}
#endregion
#region logistics_dispatcher_mobile 骑手电话
[JsonProperty(PropertyName = "logistics_dispatcher_mobile")]
/// <summary>
/// 骑手电话
/// <summary>
public string Logistics_dispatcher_mobile
{
get { return logistics_dispatcher_mobile; }
set { logistics_dispatcher_mobile = value; }
}
#endregion
#region logistics_dispatcher_name 骑手姓名
[JsonProperty(PropertyName = "logistics_dispatcher_name")]
/// <summary>
/// 骑手姓名
/// <summary>
public string Logistics_dispatcher_name
{
get { return logistics_dispatcher_name; }
set { logistics_dispatcher_name = value; }
}
#endregion
#region logistics_fetch_time 骑手取单时间
[JsonProperty(PropertyName = "logistics_fetch_time")]
/// <summary>
/// 骑手取单时间
/// <summary>
public int Logistics_fetch_time
{
get { return logistics_fetch_time; }
set { logistics_fetch_time = value; }
}
#endregion
#region logistics_id 配送方ID
[JsonProperty(PropertyName = "logistics_id")]
/// <summary>
/// 配送方ID
/// <summary>
public int Logistics_id
{
get { return logistics_id; }
set { logistics_id = value; }
}
#endregion
#region logistics_name 配送方名称
[JsonProperty(PropertyName = "logistics_name")]
/// <summary>
/// 配送方名称
/// <summary>
public string Logistics_name
{
get { return logistics_name; }
set { logistics_name = value; }
}
#endregion
#region logistics_send_time 配送单下单时间
[JsonProperty(PropertyName = "logistics_send_time")]
/// <summary>
/// 配送单下单时间
/// <summary>
public int Logistics_send_time
{
get { return logistics_send_time; }
set { logistics_send_time = value; }
}
#endregion
#region logistics_status 配送订单状态code
[JsonProperty(PropertyName = "logistics_status")]
/// <summary>
/// 配送订单状态code
/// <summary>
public int Logistics_status
{
get { return logistics_status; }
set { logistics_status = value; }
}
#endregion
#region order_cancel_time 订单取消时间
[JsonProperty(PropertyName = "order_cancel_time")]
/// <summary>
/// 订单取消时间
/// <summary>
public int Order_cancel_time
{
get { return order_cancel_time; }
set { order_cancel_time = value; }
}
#endregion
#region order_completed_time 订单完成时间
[JsonProperty(PropertyName = "order_completed_time")]
/// <summary>
/// 订单完成时间
/// <summary>
public int Order_completed_time
{
get { return order_completed_time; }
set { order_completed_time = value; }
}
#endregion
#region order_confirm_time 商户确认时间
[JsonProperty(PropertyName = "order_confirm_time")]
/// <summary>
/// 商户确认时间
/// <summary>
public int Order_confirm_time
{
get { return order_confirm_time; }
set { order_confirm_time = value; }
}
#endregion
#region order_id 订单ID数据库中请用bigint(20)存储此字段)
[JsonProperty(PropertyName = "order_id")]
/// <summary>
/// 订单ID数据库中请用bigint(20)存储此字段)
/// <summary>
public string Order_id
{
get { return order_id; }
set { order_id = value; }
}
#endregion
#region order_receive_time 商户收到时间
[JsonProperty(PropertyName = "order_receive_time")]
/// <summary>
/// 商户收到时间
/// <summary>
public string Order_receive_time
{
get { return order_receive_time; }
set { order_receive_time = value; }
}
#endregion
#region order_send_time 用户下单时间
[JsonProperty(PropertyName = "order_send_time")]
/// <summary>
/// 用户下单时间
/// <summary>
public string Order_send_time
{
get { return order_send_time; }
set { order_send_time = value; }
}
#endregion
#region original_price 原价
[JsonProperty(PropertyName = "original_price")]
/// <summary>
/// 原价
/// <summary>
public decimal Original_price
{
get { return original_price; }
set { original_price = value; }
}
#endregion
#region pay_type 支付类型1表货到付款2表在线支付
[JsonProperty(PropertyName = "pay_type")]
/// <summary>
/// 支付类型1表货到付款2表在线支付
/// <summary>
public int Pay_type
{
get { return pay_type; }
set { pay_type = value; }
}
#endregion
#region poi_receive_detail 商家对账信息的json数据
[JsonProperty(PropertyName = "poi_receive_detail")]
/// <summary>
/// 商家对账信息的json数据
/// <summary>
public string Poi_receive_detail
{
get { return poi_receive_detail; }
set { poi_receive_detail = value; }
}
#endregion
#region recipient_address 收件人地址(
[JsonProperty(PropertyName = "recipient_address")]
/// <summary>
/// 收件人地址(
/// <summary>
public string Recipient_address
{
get { return recipient_address; }
set { recipient_address = value; }
}
#endregion
#region recipient_name 收件人姓名
[JsonProperty(PropertyName = "recipient_name")]
/// <summary>
/// 收件人姓名
/// <summary>
public string Recipient_name
{
get { return recipient_name; }
set { recipient_name = value; }
}
#endregion
#region recipient_phone 收件人电话
[JsonProperty(PropertyName = "recipient_phone")]
/// <summary>
/// 收件人电话
/// <summary>
public string Recipient_phone
{
get { return recipient_phone; }
set { recipient_phone = value; }
}
#endregion
#region shipper_phone 送餐员电话
[JsonProperty(PropertyName = "shipper_phone")]
/// <summary>
/// 送餐员电话
/// <summary>
public string Shipper_phone
{
get { return shipper_phone; }
set { shipper_phone = value; }
}
#endregion
#region shipping_fee 门店配送费
[JsonProperty(PropertyName = "shipping_fee")]
/// <summary>
/// 门店配送费
/// <summary>
public decimal Shipping_fee
{
get { return shipping_fee; }
set { shipping_fee = value; }
}
#endregion
#region status 订单状态
[JsonProperty(PropertyName = "status")]
/// <summary>
/// 订单状态
/// <summary>
public int Status
{
get { return status; }
set { status = value; }
}
#endregion
#region total 总价
[JsonProperty(PropertyName = "total")]
/// <summary>
/// 总价
/// <summary>
public decimal Total
{
get { return total; }
set { total = value; }
}
#endregion
#region utime 更新时间
[JsonProperty(PropertyName = "utime")]
/// <summary>
/// 更新时间
/// <summary>
public string Utime
{
get { return utime; }
set { utime = value; }
}
#endregion
#region wm_order_id_view 订单展示ID
[JsonProperty(PropertyName = "wm_order_id_view")]
/// <summary>
/// 订单展示ID
/// <summary>
public string Wm_order_id_view
{
get { return wm_order_id_view; }
set { wm_order_id_view = value; }
}
#endregion
#region wm_poi_address 美团商家地址
[JsonProperty(PropertyName = "wm_poi_address")]
/// <summary>
/// 美团商家地址
/// <summary>
public string Wm_poi_address
{
get { return wm_poi_address; }
set { wm_poi_address = value; }
}
#endregion
#region wm_poi_id 美团商家ID
[JsonProperty(PropertyName = "wm_poi_id")]
/// <summary>
/// 美团商家ID
/// <summary>
public string Wm_poi_id
{
get { return wm_poi_id; }
set { wm_poi_id = value; }
}
#endregion
#region wm_poi_name 美团商家名称
[JsonProperty(PropertyName = "wm_poi_name")]
/// <summary>
/// 美团商家名称
/// <summary>
public string Wm_poi_name
{
get { return wm_poi_name; }
set { wm_poi_name = value; }
}
#endregion
#region wm_poi_phone 美团商家电话
[JsonProperty(PropertyName = "wm_poi_phone")]
/// <summary>
/// 美团商家电话
/// <summary>
public string Wm_poi_phone
{
get { return wm_poi_phone; }
set { wm_poi_phone = value; }
}
#endregion
#region pickType 取餐类型
[JsonProperty(PropertyName = "pickType")]
/// <summary>
/// 取餐类型
/// <summary>
public int PickType
{
get { return pickType; }
set { pickType = value; }
}
#endregion
#region cancelReason 订单取消原因
[JsonProperty(PropertyName = "cancelReason")]
/// <summary>
/// 订单取消原因
/// <summary>
public string CancelReason
{
get { return cancelReason; }
set { cancelReason = value; }
}
#endregion
#region cancelReasonCode 订单取消原因编码
[JsonProperty(PropertyName = "cancelReasonCode")]
/// <summary>
/// 订单取消原因编码
/// <summary>
public string CancelReasonCode
{
get { return cancelReasonCode; }
set { cancelReasonCode = value; }
}
#endregion
#region refundReason 退单原因
[JsonProperty(PropertyName = "refundReason")]
/// <summary>
/// 退单原因
/// <summary>
public string RefundReason
{
get { return refundReason; }
set { refundReason = value; }
}
#endregion
#region refundReasonCode 退单原因编码
[JsonProperty(PropertyName = "refundReasonCode")]
/// <summary>
/// 退单原因编码
/// <summary>
public string RefundReasonCode
{
get { return refundReasonCode; }
set { refundReasonCode = value; }
}
[JsonProperty(PropertyName = "detail")]
public List<ShopMeituanWaiMaiOrderInfoByiddetailResponse> Detail { get => detail; set => detail = value; }
[JsonProperty(PropertyName = "extras")]
public List<ShopMeituanWaiMaiOrderInfoByidExtrasResponse> Extras { get => extras; set => extras = value; }
#endregion
}
}