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 FenceSyncCO extends ClientObject {
    @ApiModelProperty(value = "从FindS拉取的数据条数", 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 = "unmappedCompanyCount")
    private Integer unmappedCompanyCount;

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