package com.dora.dto;

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

import java.time.LocalDateTime;

/**
 * 类目列表DTO
 */
@Data
@Schema(description = "类目列表项")
public class CategoryListDto {
    
    @Schema(description = "类目ID", example = "1")
    private Long id;
    
    @Schema(description = "类目名称", example = "人工智能")
    private String name;
    
    @Schema(description = "类目类型(1课程分类/2工作流分类)", example = "1")
    private Integer type;
    
    @Schema(description = "类目类型名称", example = "课程分类")
    private String typeName;
    
    @Schema(description = "类目描述", example = "人工智能相关的课程和工作流")
    private String description;
    
    @Schema(description = "排序字段", example = "1")
    private Integer sortOrder;
    
    @Schema(description = "是否启用", example = "true")
    private Boolean isEnabled;
    
    @Schema(description = "创建时间", example = "2024-01-15T10:30:00")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间", example = "2024-01-15T10:30:00")
    private LocalDateTime updateTime;
}
