package com.lesingle.edu.dto.response;

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

import java.time.LocalDateTime;

/**
 * 主题响应
 * 用于返回主题信息给前端
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "主题响应")
public class ThemeResponse {

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

    @Schema(description = "主题名称")
    private String name;

    @Schema(description = "主题描述")
    private String description;

    @Schema(description = "主题颜色(hex)")
    private String color;

    @Schema(description = "排序号")
    private Integer sortOrder;

    @Schema(description = "状态")
    private String status;

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

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