SyncResult.java
955 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;
import java.util.Date;
/***
* 同步结果表
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("sync_result")
public class SyncResult {
@JsonSerialize(using = ToStringSerializer.class)
@TableId(value = "id", type = IdType.ID_WORKER)
private Long id;
// 同步表名
private String TableName;
//业务id
private Long InfoId;
//数据源表创建时间
private Date DateCreateTime;
//同步状态 0:待同步 1:同步成功 -1:同步失败
private Integer Status;
//创建时间
private Date CreateDateTime;
//更新时间
private Date UpdateTime;
}