package cn.meowrain.aioj.backend.aiservice.dto.resp;

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

/**
 * 代码分析响应 DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "代码分析响应")
public class AnalyzeCodeRespDTO {

    @Schema(description = "是否成功")
    private Boolean success;

    @Schema(description = "响应消息")
    private String message;

    @Schema(description = "分析结果")
    private CodeAnalysisRespDTO analysis;
}
