package com.bcxin.tenant.domain.snapshots;

import lombok.Data;

import java.io.Serializable;

@Data
public class ContractImportedItemSnapshot implements Serializable {
    private int paramIndex;
    private String name;
    private String aName;
    private String bName;
    private String idNum;
    private String beginDateText;
    private String endDateText;

    public ContractImportedItemSnapshot(){}

    public static ContractImportedItemSnapshot create(int paramIndex,String name,String aName,String bName,String idNum,
                                                      String beginDateText,String endDateText) {
        ContractImportedItemSnapshot snapshot = new ContractImportedItemSnapshot();
        snapshot.setParamIndex(paramIndex);
        snapshot.setName(name);
        snapshot.setAName(aName);
        snapshot.setBName(bName);
        snapshot.setIdNum(idNum);
        snapshot.setBeginDateText(beginDateText);
        snapshot.setEndDateText(endDateText);

        return snapshot;
    }
}
