package com.yc.ship.module.marketing.api.coupon.dto;

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

import java.math.BigDecimal;

@Schema(description = "RPC 服务 - 下单进入分销业务 Request DTO")
@Data
public class DistributorReqDto {

    @Schema(description = "分享的分销商ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long shareDistributorId;

    @Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long orderId;

    @Schema(description = "订单金额(元)，指支付金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private BigDecimal orderAmount;

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long productId;

    @Schema(description = "游玩日期", example = "2022-01-01")
    private String travelDate;
}
