package com.lesingle.edu.dto.request;

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

import java.time.LocalDate;

/**
 * 课程使用统计查询参数
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "课程使用统计查询参数")
public class CourseUsageQuery {

    @Schema(description = "统计周期类型：TODAY-今日，WEEK-本周，MONTH-本月，CUSTOM-自定义")
    private String periodType;

    @Schema(description = "自定义周期开始日期")
    private LocalDate startDate;

    @Schema(description = "自定义周期结束日期")
    private LocalDate endDate;
}
