package cn.iocoder.yudao.module.system.dal.dataobject.agent; import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.*; import java.time.LocalDateTime; /** * 通用业务导入命令。同一 (tenant, owner, module, commandId/idempotencyKey) 只允许一条。 */ @TableName("agent_import_command") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) @Builder @NoArgsConstructor @AllArgsConstructor public class AgentImportCommandDO extends BaseDO { @TableId private Long id; private String commandId; private String idempotencyKey; private String requestDigest; private String moduleId; private Long tenantId; private Long ownerUserId; private Long sessionId; private Long attachmentId; private String sourceSha256; private String preflightHash; private String proposalHash; private String status; private Integer totalCount; private Integer successCount; private Integer failedCount; private Integer skippedCount; private String errorCode; private String errorMessage; private LocalDateTime leaseExpiresAt; }