class Election {

    @Override
    public boolean equals(Object obj) {
        if(obj instanceof Election) {
            Election that = (Election) obj;
            return this.getPlace().equals(that.getPlace()) &&
                    this.getKind().equals(that.getKind()) &&
                    this.getAsset().getName().equals(that.getAsset().getName());
        } else {
            return false;
        }
    }

    public  Election(String kind, String place, Asset asset);

}