Files
KJD_WebService/KJD_WebService/Responses/Shops/ShopOrderDetailResponse.cs
T
chfei 04d9e37123 BuyerOrderInfo 增加id 和退款 id ,采购类型
增加修改买手退款成功api接口 修改数据库退款状态
2026-10-08 15:58:19 +08:00

63 lines
1.7 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 long 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 int OutAmount { get; set; }
/// <summary>
/// 买手未退回金额(分),即买手订单中退款未成功的退款金额之和;无售后时为 0
/// </summary>
public int UnrefundedAmount { get; set; }
/// <summary>
/// 买手订单信息(一个订单号对应多个买手订单)
/// 字段含义:OutOrderSn=外部订单(买手订单)号,OutAmount=金额,RefundAmount=退款金额,RefundStatusText=退款状态
/// </summary>
public List<BuyerOrderInfo> BuyerOrders { get; set; } = [];
}