package com.vk.api.sdk.objects.users;

import com.google.gson.annotations.SerializedName;

import java.util.Objects;

/**
 * Career object
 */
public class Career {
    /**
     * Community ID
     */
    @SerializedName("group_id")
    private Integer groupId;

    /**
     * Country ID
     */
    @SerializedName("country_id")
    private Integer countryId;

    /**
     * City ID
     */
    @SerializedName("city_id")
    private Integer cityId;

    /**
     * From year
     */
    @SerializedName("from")
    private Integer from;

    /**
     * Till year
     */
    @SerializedName("until")
    private Integer until;

    /**
     * Position
     */
    @SerializedName("position")
    private String position;

    public Integer getGroupId() {
        return groupId;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public Integer getFrom() {
        return from;
    }

    public Integer getUntil() {
        return until;
    }

    public String getPosition() {
        return position;
    }

    @Override
    public int hashCode() {
        return Objects.hash(groupId, from, until, cityId, position, countryId);
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Career career = (Career) o;
        return Objects.equals(groupId, career.groupId) &&
                Objects.equals(countryId, career.countryId) &&
                Objects.equals(cityId, career.cityId) &&
                Objects.equals(from, career.from) &&
                Objects.equals(until, career.until) &&
                Objects.equals(position, career.position);
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Career{");
        sb.append("groupId=").append(groupId);
        sb.append(", countryId=").append(countryId);
        sb.append(", cityId=").append(cityId);
        sb.append(", from=").append(from);
        sb.append(", until=").append(until);
        sb.append(", position='").append(position).append("'");
        sb.append('}');
        return sb.toString();
    }
}

@@ -252,24 +252,120 @@
 r groupId;%0A%0A
+    /**%0A     * Company name%0A     */%0A    @SerializedName(%22company%22)%0A    private String company;%0A%0A
     /**%0A    
@@ -374,24 +374,24 @@
  Country ID%0A
-
      */%0A    
@@ -872,32 +872,96 @@
 groupId;%0A    %7D%0A%0A
+    public String getCompany() %7B%0A        return company;%0A    %7D%0A%0A
     public Integ
@@ -1340,16 +1340,25 @@
 groupId,
+ company,
  from, u
@@ -1645,24 +1645,83 @@
 groupId) &&%0A
+                Objects.equals(company, career.company) &&%0A
             
@@ -2106,24 +2106,24 @@
 %22Career%7B%22);%0A
-
         sb.a
@@ -2153,24 +2153,73 @@
 d(groupId);%0A
+        sb.append(%22, company=%22).append(company);%0A
         sb.a

Fix #45. Add 'company' in Career class.