package vietnamworks.com.vnwcore.entities;

import R.helper.BindField;
import R.helper.EntityX;

/**
 * Created by duynk on 1/7/16.
 */
public class JobSearchResult extends EntityX {
    @BindField("job_id") String id;
    @BindField("job_title") String title;
    @BindField("job_company") String company;
    @BindField("posted_date") String postedDate;
    @BindField("job_location") String jobLocation;
    @BindField("job_industry") String industry;
    @BindField("job_detail_url") String detailURL;
    @BindField("job_logo_url") String logoURL;
    @BindField("job_video_url") String videoURL;
    @BindField("salary_min") int minSalary;
    @BindField("salary_max") int maxSalary;
    @BindField("skills") String skills;
    @BindField("benefits") String benefits;
    @BindField("views") int views;
    @BindField("applied") int applied;

    public JobSearchResult() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getPostedDate() {
        return postedDate;
    }

    public void setPostedDate(String postedDate) {
        this.postedDate = postedDate;
    }

    public String getJobLocation() {
        return jobLocation;
    }

    public void setJobLocation(String jobLocation) {
        this.jobLocation = jobLocation;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getDetailURL() {
        return detailURL;
    }

    public void setDetailURL(String detailURL) {
        this.detailURL = detailURL;
    }

    public String getLogoURL() {
        return logoURL;
    }

    public void setLogoURL(String logoURL) {
        this.logoURL = logoURL;
    }

    public String getVideoURL() {
        return videoURL;
    }

    public void setVideoURL(String videoURL) {
        this.videoURL = videoURL;
    }

    public int getMinSalary() {
        return minSalary;
    }

    public void setMinSalary(int minSalary) {
        this.minSalary = minSalary;
    }

    public int getMaxSalary() {
        return maxSalary;
    }

    public void setMaxSalary(int maxSalary) {
        this.maxSalary = maxSalary;
    }

    public String getSkills() {
        return skills;
    }

    public void setSkills(String skills) {
        this.skills = skills;
    }

    public String getBenefits() {
        return benefits;
    }

    public void setBenefits(String benefits) {
        this.benefits = benefits;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public int getApplied() {
        return applied;
    }

    public void setApplied(int applied) {
        this.applied = applied;
    }
}

@@ -37,16 +37,45 @@
 ities;%0A%0A
+import java.util.ArrayList;%0A%0A
 import R
@@ -620,24 +620,64 @@
 g videoURL;%0A
+    @BindField(%22salary%22) String salary;%0A
     @BindFie
@@ -777,22 +777,32 @@
 kills%22) 
-String
+ArrayList%3CSkill%3E
  skills;
@@ -919,16 +919,61 @@
 applied;
+%0A    @BindField(%22job_level%22) String jobLevel;
 %0A%0A    pu
@@ -1610,27 +1610,24 @@
 ring get
-Job
 Location
 () %7B%0A   
@@ -1618,16 +1618,17 @@
 Location
+s
 () %7B%0A   
@@ -1682,19 +1682,16 @@
  set
-Job
 Location
 (Str
@@ -1686,16 +1686,17 @@
 Location
+s
 (String 
@@ -2688,30 +2688,40 @@
 %0A    public 
-String
+ArrayList%3CSkill%3E
  getSkills()
@@ -2779,22 +2779,32 @@
 tSkills(
-String
+ArrayList%3CSkill%3E
  skills)
@@ -3267,11 +3267,479 @@
 d;%0A    %7D
+%0A%0A    public String getJobLocation() %7B%0A        return jobLocation;%0A    %7D%0A%0A    public void setJobLocation(String jobLocation) %7B%0A        this.jobLocation = jobLocation;%0A    %7D%0A%0A    public String getSalary() %7B%0A        return salary;%0A    %7D%0A%0A    public void setSalary(String salary) %7B%0A        this.salary = salary;%0A    %7D%0A%0A    public String getJobLevel() %7B%0A        return jobLevel;%0A    %7D%0A%0A    public void setJobLevel(String jobLevel) %7B%0A        this.jobLevel = jobLevel;%0A    %7D
 %0A%7D%0A

fix missing job search property