package com.lesingle.edu.dto.response;

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

import java.util.List;

/**
 * 趋势数据响应
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "趋势数据响应")
public class StatsTrendResponse {

    @Schema(description = "日期列表")
    private List<String> dates;

    @Schema(description = "授课次数列表（近 7 天每天完成的课程数）")
    private List<Integer> lessonCounts;

    @Schema(description = "活跃学生数列表（近 7 天每天有上课记录的去重学生数）")
    private List<Integer> studentCounts;
}
