@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (super.equals(o)) {
            return true;
        }

        orgataxe.entity.Model model = (orgataxe.entity.Model) o;

        if (weight != model.weight) {
            return false;
        }
        if (designation != null ? !designation.equals(model.designation) : model.designation != null) {
            return false;
        }

        return true;
    }