package com.ruoyi.web.modules.industryservice.domain.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 第三方同步结果摘要。
 */
public class YakAssetSyncResultVo
{
    private int insertCount;

    private int updateCount;

    private int failCount;

    private List<String> failMessages = new ArrayList<>();

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date syncTime;

    public int getInsertCount()
    {
        return insertCount;
    }

    public void setInsertCount(int insertCount)
    {
        this.insertCount = insertCount;
    }

    public int getUpdateCount()
    {
        return updateCount;
    }

    public void setUpdateCount(int updateCount)
    {
        this.updateCount = updateCount;
    }

    public int getFailCount()
    {
        return failCount;
    }

    public void setFailCount(int failCount)
    {
        this.failCount = failCount;
    }

    public List<String> getFailMessages()
    {
        return failMessages;
    }

    public void setFailMessages(List<String> failMessages)
    {
        this.failMessages = failMessages;
    }

    public Date getSyncTime()
    {
        return syncTime;
    }

    public void setSyncTime(Date syncTime)
    {
        this.syncTime = syncTime;
    }
}
