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

import com.jeesharp.framework.pojo.query.PaginationVO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 店铺优惠券查询 DTO（须携带 tenantCode）。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "店铺优惠券查询")
public class MarketingCouponTenantQueryDTO extends PaginationVO {

    @NotBlank(message = "店铺租户编码不能为空")
    @Schema(description = "店铺租户编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String tenantCode;

    @Schema(description = "券使用状态：0未用 1已用 2过期 3冻结 4作废")
    private Integer status;
}
