package com.usky.issue.service.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.usky.issue.service.enums.SyncDirection;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 同步数据包
 *
 * @author fyc
 * @date 2026-06-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class SyncPacket {

    private String tenantId;
    private String tableName;
    private SyncDirection direction;
    private List<?> dataList;
    private Long batchVersion;
    private Boolean hasMore;
    private String nonce;

}
