package com.bcxin.api.interfaces.tenants.requests.contracts;

import lombok.Getter;

import java.io.Serializable;

@Getter
public class BatchImportContractRequest implements Serializable {
    private final String name;
    private final String aName;
    private final String bName;
    private final String idNum;
    private final String beginDate;
    private final String endDate;

    public BatchImportContractRequest(String name, String aName, String bName,
                                      String idNum, String beginDate,
                                      String endDate) {
        this.name = name;
        this.aName = aName;
        this.bName = bName;
        this.idNum = idNum;
        this.beginDate = beginDate;
        this.endDate = endDate;
    }

    public static BatchImportContractRequest create(String name, String aName, String bName,
                                                    String idNum, String beginDate,
                                                    String endDate)
    {
        return new BatchImportContractRequest(name,aName,bName,idNum,beginDate,endDate);
    }
}
