package jp.co.headwaters.webappos.model;

public class CountryRelation extends AbstractEntity {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column country_relation.company_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    private Integer companyId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column country_relation.country_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    private Integer countryId;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column country_relation.company_id
     *
     * @return the value of country_relation.company_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    public Integer getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column country_relation.company_id
     *
     * @param companyId the value for country_relation.company_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column country_relation.country_id
     *
     * @return the value of country_relation.country_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    public Integer getCountryId() {
        return countryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column country_relation.country_id
     *
     * @param countryId the value for country_relation.country_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

 // --------------------------------------------------------------------------
    private Company company;
    private Country country;

	public Company getCompany() {
		return company;
	}

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

	public Country getCountry() {
		return country;
	}

	public void setCountry(Country country) {
		this.country = country;
	}
}