package com.jeesharp.business.modules.mall.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 财务结算所需的商城子订单只读摘要。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
@Data
@Schema(description = "商城子订单财务摘要")
public class MallFinanceOrderDTO {

    @Schema(description = "子订单主键")
    private String id;

    @Schema(description = "子订单编号")
    private String orderNo;

    @Schema(description = "商户租户ID")
    private String tenantId;

    @Schema(description = "子单实付金额")
    private BigDecimal payAmount;

    @Schema(description = "子单总金额")
    private BigDecimal totalAmount;

    @Schema(description = "合并支付批次ID")
    private String payBatchId;
}
