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;

import java.util.List;

/**
 * 代码解释响应 DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "代码解释响应")
public class ExplainCodeRespDTO {

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

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

    @Schema(description = "代码解释")
    private String explanation;

    @Schema(description = "关键点")
    private List<String> keyPoints;
}
