package com.kingdee.eas.custom.integration.mdm.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * MDM ????????????????^
 */
public class MdmSyncResponse {

    /** ?????? */
    private int totalCount;

    /** ??????? */
    private int successCount;

    /** ??????? */
    private int failCount;

    /** ??????? */
    private List<MdmFailDetail> failDetails;

    public MdmSyncResponse() {
        this.failDetails = new ArrayList<>();
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(int successCount) {
        this.successCount = successCount;
    }

    public int getFailCount() {
        return failCount;
    }

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

    public List<MdmFailDetail> getFailDetails() {
        return failDetails;
    }

    public void setFailDetails(List<MdmFailDetail> failDetails) {
        this.failDetails = failDetails;
    }

    public void addFailDetail(MdmFailDetail detail) {
        this.failDetails.add(detail);
    }
}
