package com.snack.server.module.coupon.dto.req;

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

import java.io.Serializable;

/**
 * 优惠券模板分页查询
 */
@Data
@Schema(description = "优惠券模板分页查询")
public class CouponPageReq implements Serializable {

    @Schema(description = "页码", example = "1")
    private Long current = 1L;

    @Schema(description = "每页条数", example = "10")
    private Long size = 10L;

    @Schema(description = "名称关键字")
    private String keyword;

    @Schema(description = "类型：0-满减券 1-折扣券 2-无门槛券")
    private Integer type;

    @Schema(description = "状态：0-未上线 1-已上线 2-已结束")
    private Integer status;
}
