Files
KJD_WebService/KJD_WebService/Responses/Shops/ShopOrderDetailResponse.cs
T
2026-11-11 18:25:52 +08:00

76 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using static KJD_Web.Model.WxModel.ShopRevenueStatistics;
namespace KJD_Web.Responses.Shops;
/// <summary>
/// 订单明细(有效订单 / 退款订单 / 买手未退回金额的订单 共用的返回结构)
/// 一个商铺订单可能对应多个买手订单(见 BuyerOrders)
/// 金额单位:分
/// </summary>
public class ShopOrderDetailResponse
{
public long Id { get; set; }
/// <summary>
/// 店铺ID
/// </summary>
public string ShopId { get; set; }
/// <summary>
/// 店铺名称
/// </summary>
public string ShopName { get; set; }
/// <summary>
/// 商铺订单号
/// </summary>
public string OrderId { get; set; }
/// <summary>
/// 订单创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 订单金额(分)
/// </summary>
public int OrderPrice { get; set; }
/// <summary>
/// 订单退款金额(分),即商铺订单商品明细的退款金额之和;有效订单为 0
/// </summary>
public int OrderRefundAmount { get; set; }
/// <summary>
/// 利润
/// </summary>
public long ProfitAmount { get; set; }
/// <summary>
/// 平台佣金
/// </summary>
public long PlatformFee { get; set; }
/// <summary>
/// 外采金额(分),即该订单下所有买手订单的最后一单的商品金额
/// </summary>
public int OutAmount { get; set; }
/// <summary>快递包裹净费用(分)</summary>
public int PackageAmount { get; set; }
/// <summary>
/// 买手未退回金额(分),即买手订单中退款未成功的退款金额之和;无售后时为 0
/// </summary>
public int UnrefundedAmount { get; set; }
/// <summary>
/// 买手订单信息(一个订单号对应多个买手订单)
/// 字段含义:OutOrderSn=外部订单(买手订单)号,OutAmount=金额,RefundAmount=退款金额,RefundStatusText=退款状态
/// </summary>
public List<BuyerOrderInfo> BuyerOrders { get; set; } = [];
}