Files
c-api/src/main/java/com/mini/capi/biz/domain/SyncTask.java

111 lines
2.1 KiB
Java
Raw Normal View History

2025-08-27 00:01:42 +08:00
package com.mini.capi.biz.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
*
* </p>
*
* @author gaoxq
2025-08-27 11:52:29 +08:00
* @since 2025-08-27
2025-08-27 00:01:42 +08:00
*/
@Getter
@Setter
@TableName("biz_sync_task")
public class SyncTask implements Serializable {
private static final long serialVersionUID = 1L;
2025-08-27 11:52:29 +08:00
/**
* 记录创建时间
*/
2025-08-27 00:01:42 +08:00
@TableField("create_time")
private LocalDateTime createTime;
2025-08-27 11:52:29 +08:00
/**
* 同步任务唯一标识
*/
2025-08-27 00:01:42 +08:00
@TableId(value = "task_id", type = IdType.AUTO)
private String taskId;
2025-08-27 11:52:29 +08:00
/**
* 同步任务名称
*/
2025-08-27 00:01:42 +08:00
@TableField("task_name")
private String taskName;
2025-08-27 11:52:29 +08:00
/**
* 源数据库配置ID关联biz_db_config表
*/
2025-08-27 00:01:42 +08:00
@TableField("source_db_id")
private String sourceDbId;
2025-08-27 11:52:29 +08:00
/**
* 目标数据库配置ID关联biz_db_config表
*/
2025-08-27 00:01:42 +08:00
@TableField("target_db_id")
private String targetDbId;
2025-08-27 11:52:29 +08:00
/**
* 源数据库表名
*/
2025-08-27 00:01:42 +08:00
@TableField("source_table")
private String sourceTable;
2025-08-27 11:52:29 +08:00
/**
* 目标数据库表名
*/
2025-08-27 00:01:42 +08:00
@TableField("target_table")
private String targetTable;
2025-08-27 11:52:29 +08:00
/**
* 是否激活任务启用状态标识
*/
2025-08-27 00:01:42 +08:00
@TableField("is_active")
2025-08-27 10:11:02 +08:00
private String isActive;
2025-08-27 00:01:42 +08:00
2025-08-27 11:52:29 +08:00
/**
* 最后一次同步时间
*/
2025-08-27 00:01:42 +08:00
@TableField("last_sync_time")
private LocalDateTime lastSyncTime;
2025-08-27 11:52:29 +08:00
/**
* 记录最后更新时间
*/
2025-08-27 00:01:42 +08:00
@TableField("update_time")
private LocalDateTime updateTime;
/**
* 租户id
*/
@TableField("f_tenant_id")
private String fTenantId;
/**
* 流程id
*/
@TableField("f_flow_id")
private String fFlowId;
/**
* 流程任务主键
*/
@TableField("f_flow_task_id")
private String fFlowTaskId;
/**
* 流程任务状态
*/
@TableField("f_flow_state")
private Integer fFlowState;
}