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

import com.kingdee.eas.custom.integration.beisen.dto.FailDetail;

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

/**
 * 投诉乐捐扣除数据同步响应
 */
public class ComplaintDonationDeductResponse {

    /** 总条数 */
    private int totalCount;

    /** 成功条数 */
    private int successCount;

    /** 失败条数 */
    private int failCount;

    /** 失败详情 */
    private List<FailDetail> failDetails = new ArrayList<>();

    /** 成功创建的提报单ID列表 */
    private List<String> createdBillIds = 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<FailDetail> getFailDetails() {
        return failDetails;
    }

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

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

    public List<String> getCreatedBillIds() {
        return createdBillIds;
    }

    public void setCreatedBillIds(List<String> createdBillIds) {
        this.createdBillIds = createdBillIds;
    }

    public void addCreatedBillId(String billId) {
        this.createdBillIds.add(billId);
    }
}
