package cn.iocoder.yudao.module.system.api.agent.imports;
|
|
import lombok.Builder;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
/**
|
* 通用业务导入回执,字段与 Python 端 CommitReceipt 对齐。
|
*/
|
@Data
|
@Builder
|
public class AgentImportReceiptRespVO {
|
|
private String commandId;
|
private String idempotencyKey;
|
private String status;
|
private Long attachmentId;
|
private Long sessionId;
|
private String sourceSha256;
|
private String preflightHash;
|
private String proposalHash;
|
private Summary summary;
|
private String errorCode;
|
private String errorMessage;
|
private List<Row> rows;
|
private LocalDateTime createTime;
|
private LocalDateTime completedTime;
|
|
@Data
|
@Builder
|
public static class Summary {
|
private Integer total;
|
private Integer success;
|
private Integer failed;
|
private Integer skipped;
|
private Integer unknown;
|
}
|
|
@Data
|
@Builder
|
public static class Row {
|
private String candidateId;
|
private Integer rowNo;
|
private String code;
|
private String name;
|
private String action;
|
/** SUCCESS / FAILED / SKIPPED / UNKNOWN */
|
private String status;
|
private Long targetItemId;
|
private String targetVersion;
|
private String errorCode;
|
private String errorMessage;
|
private Boolean retryable;
|
}
|
}
|