package com.zcloud.personnel.positioning.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TerminalAppSyncCO extends ClientObject {
    @ApiModelProperty(value = "从FindS拉取的APP数据总条数", name = "pulledCount")
    private Integer pulledCount;

    @ApiModelProperty(value = "本地新增数据条数", name = "insertedCount")
    private Integer insertedCount;

    @ApiModelProperty(value = "本地更新数据条数", name = "updatedCount")
    private Integer updatedCount;

    @ApiModelProperty(value = "跳过的数据条数", name = "skippedCount")
    private Integer skippedCount;

    @ApiModelProperty(value = "已同步的有效绑定数量", name = "bindingCount")
    private Integer bindingCount;

    @ApiModelProperty(value = "同步时间", name = "syncTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime syncTime;
}
