package com.jeesharp.business.modules.coupon.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 生成优惠券领券太阳码请求。
 *
 * @author jeesharp
 * @since 2026-07-03
 */
@Data
@Schema(description = "生成领券太阳码请求")
public class CouponTemplateClaimQrcodeGenerateDTO {

    @NotBlank(message = "模板主键不能为空")
    @Schema(description = "模板主键", required = true)
    private String id;

    @Schema(description = "是否强制重新生成（默认 false，已有码则直接返回）")
    private Boolean force;
}
