FeatureDTO.java 1.0 KB
package com.aigeo.ai.dto;

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

import java.time.LocalDateTime;

/**
 * AI功能模块DTO
 */
@Data
@Schema(description = "AI功能模块数据传输对象")
public class FeatureDTO {

    @Schema(description = "功能ID")
    private Integer id;

    @Schema(description = "功能标识符", example = "ai_article")
    private String featureKey;

    @Schema(description = "功能名称", example = "AI文章生成")
    private String name;

    @Schema(description = "功能描述", example = "基于关键词和主题自动生成高质量文章")
    private String description;

    @Schema(description = "功能分类", example = "content")
    private String category;

    @Schema(description = "是否为高级功能")
    private Boolean isPremium;

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

    @Schema(description = "是否启用")
    private Boolean isActive;

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