package com.greenorange.promotion.model.dto.coursePromotionCommissionPending;

import com.greenorange.promotion.annotation.EnumValue;
import com.greenorange.promotion.model.enums.CommissionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Min;
import lombok.Data;
import java.math.BigDecimal;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

import com.greenorange.promotion.common.PageRequest;

/**
 * 课程推广待提成记录查询请求体，继承自分页请求 PageRequest
 */
@Data
@Schema(description = "课程推广待提成记录查询请求体", requiredProperties = {"current", "pageSize"})
public class CoursePromotionCommissionPendingQueryRequest extends PageRequest implements Serializable {

    /**
     * 课程名称
     */
    @Schema(description = "课程名称", example = "财务管理")
    private String name;

    /**
     * 课程类别
     */
    @Schema(description = "课程类别", example = "财经")
    private String type;

    /**
     * 提成状态
     */
    @EnumValue(enumClass = CommissionStatusEnum.class)
    @Schema(description = "提成状态", example = "待提成")
    private String commissionStatus;


    @Serial
    private static final long serialVersionUID = 1L;
}

