package com.ai.da.model.dto;

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

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "查询优惠券分页")
public class QueryCouponsPageDTO extends QueryPageByTimeDTO {
    @Schema(description = "DESC(按id降序) || ASC(按id升序)")
    private String orderById;
    @Schema(description = "推广码")
    private String promotionCode;
    @Schema(description = "查询过期 || 未过期的优惠券")
    private Boolean isExpired;
    @Schema(description = "按合作者名字查询")
    private String cooperator;

}
