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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "RPC 服务 - 分销模板 Response DTO")
@Data
public class DistributorTemplateProductDto {

    @Schema(description = "模板ID", example = "1024")
    private Long templateId;

    @Schema(description = "模板名称", example = "1024")
    private String templateName;

    @Schema(description = "分销类型", example = "1")
    private Integer type;

    @Schema(description = "标签ID", example = "1024")
    private Long tagId;

    @Schema(description = "模板优先级", example = "1024")
    private Integer priorityLevel;

    @Schema(description = "模板开始时间", example = "2025-01-01 00:00:00")
    private LocalDateTime startTime;

    @Schema(description = "模板结束时间", example = "2025-01-01 23:59:59")
    private LocalDateTime endTime;

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

    @Schema(description = "佣金类型", example = "1")
    private Integer bickbackType;

    @Schema(description = "一级分佣比例", example = "1024")
    private BigDecimal levelOne;

    @Schema(description = "二级分佣比例", example = "1024")
    private BigDecimal levelTwo;


}
