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.
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.OtherWaiMai
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外卖汇总
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class WaimaiOrderStatisticsResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "receiveAmount")]
|
|
|
|
|
public decimal ReceiveAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商家应收金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "totalAmount")]
|
|
|
|
|
public decimal TotalAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///总单数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "total")]
|
|
|
|
|
public int Total { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 其他状态单数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "other")]
|
|
|
|
|
public int Other { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单原价
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "originalAmount")]
|
|
|
|
|
public decimal OriginalAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 配送费用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "shippingFee")]
|
|
|
|
|
public decimal ShippingFee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 完成数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "success")]
|
|
|
|
|
public int Success { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 退单数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "failed")]
|
|
|
|
|
public int Failed { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外卖标识(meituan-美团外卖;eleme-饿了么;)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "sign")]
|
|
|
|
|
public string Sign { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
|
public string SignName { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|