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 UserCouponPageReq implements Serializable {

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

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

    @Schema(description = "优惠券模板 ID")
    private Long couponId;

    @Schema(description = "用户 ID")
    private Long userId;

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

    @Schema(description = "用户名/昵称关键字")
    private String keyword;
}
