@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Credit)) return false;

        Credit credit = (Credit) o;

        if (!name.equals(credit.name)) return false;
        if (!technicalCode.equals(credit.technicalCode)) return false;

        return true;
    }