package com.kexue.skills.entity.dto;

import com.kexue.skills.entity.base.BaseQueryDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 兑换码查询DTO
 */
@Data
@Schema(description = "兑换码查询参数")
public class ExchangeCodeQueryDto extends BaseQueryDto {

    @Schema(description = "兑换码")
    private String code;

    @Schema(description = "套餐价格")
    private BigDecimal packagePrice;

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