package cn.iocoder.yudao.module.mdm.controller.admin.agent.vo;
|
|
import lombok.Builder;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
/**
|
* 智能体物料导入回执。重复查询/重复提交返回同一结构。
|
*/
|
@Data
|
@Builder
|
public class MdmAgentImportReceiptRespVO {
|
|
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;
|
private String status;
|
private Long targetItemId;
|
private String targetVersion;
|
private String errorCode;
|
private String errorMessage;
|
private Boolean retryable;
|
}
|
}
|