package com.njcn.relational.pojo.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * relational_migration
 *
 * @author cdf
 * @date 2026/5/26
 */
@Data
@TableName("SYNC_TABLE_CONFIG")
public class SyncTableConfig {

    @TableId
    private String tableName;
    private String syncMode;
    private Integer enabled;
    private Integer sortOrder;
    private String remark;

    // BLOB相关配置
    private String blobColumns;

    // CLOB相关配置
    private String clobColumns;

    // 新增：表对应的时间查询字段（动态配置）
    private String timeColumn;

    // 增量数据时间类型
    private String dataTimeType;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;



}
