class JobRegion extends BaseEntity implements RegionRequest, Comparable<JobRegion> {

    @Override
    public boolean equals(Object obj) {
        if (!(obj instanceof JobRegion)) {
            return false;
        }
        JobRegion o = (JobRegion) obj;
        if (getId() == 0) {
            return new EqualsBuilder().append(o.getRegion(), getRegion()).append(o.getUsers(), getUsers()).isEquals();
        }
        return new EqualsBuilder().append(getId(), o.getId()).isEquals();
    }

    public  JobRegion();
    public  JobRegion(VMRegion region, String users);

}