SyncTable.java 679 字节
package org.yrhl.syncdata.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

/***
 * 需要同步的表名
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("sync_table")
public class SyncTable  {

	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(value = "id", type = IdType.ID_WORKER)
	private Long id;

	private String tableName;

	private String isDelete;


}