package com.jeesharp.business.modules.mall.vo;

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

import java.math.BigDecimal;

/**
 * 按商户拆分的运费试算明细。
 *
 * @author jeesharp
 * @since 2026-06-10
 */
@Data
@Schema(description = "商户运费明细")
public class MallFreightMerchantBreakdownVO {

    @Schema(description = "商户租户键")
    private String tenantKey;

    @Schema(description = "租户编码")
    private String tenantCode;

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

    @Schema(description = "商品金额（元）")
    private BigDecimal goodsAmount;

    @Schema(description = "运费（元）")
    private BigDecimal freightAmount;

    @Schema(description = "商户券抵扣（元）")
    private BigDecimal merchantCouponAmount;

    @Schema(description = "首单立减分摊（元）")
    private BigDecimal firstOrderDiscountAmount;

    @Schema(description = "平台券分摊（元）")
    private BigDecimal platformCouponAmount;

    @Schema(description = "该商户应付（元）")
    private BigDecimal payAmount;
}
