package com.lesingle.edu.dto.response;

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

import java.time.LocalDateTime;

/**
 * 租户课程响应
 * 用于返回租户课程信息给前端
 */
@Data
@Builder
@Schema(description = "租户课程响应")
public class TenantCourseResponse {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "课程 ID")
    private Long courseId;

    @Schema(description = "是否启用")
    private Integer enabled;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
