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

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

/**
 * 管理端上下架优惠券模板。
 *
 * @author jeesharp
 * @since 2026-05-07
 */
@Data
@Schema(description = "优惠券模板状态更新")
public class CouponTemplateStatusDTO {

    @NotBlank(message = "模板ID不能为空")
    @Schema(description = "模板ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @NotNull(message = "状态不能为空")
    @Schema(description = "状态：0-下架 1-进行中 2-结束 3-待开始", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;
}
