package jp.co.headwaters.webappos.model;

public class CategoryRelation extends AbstractEntity {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column category_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 category_relation.category_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    private Integer categoryId;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column category_relation.company_id
     *
     * @return the value of category_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 category_relation.company_id
     *
     * @param companyId the value for category_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 category_relation.category_id
     *
     * @return the value of category_relation.category_id
     *
     * @mbggenerated Thu Sep 05 13:56:13 JST 2013
     */
    public Integer getCategoryId() {
        return categoryId;
    }

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

// --------------------------------------------------------------------------
    private Company company;
    private Category category;

	public Company getCompany() {
		return company;
	}

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

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}
}