package jp.co.headwaters.webappos.model;

import java.util.Date;
import java.util.List;

public class Company extends AbstractEntity {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.id
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.group_id
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private Integer groupId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.company_name
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private String companyName;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.address
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private String address;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.tel
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private String tel;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.created_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private Date createdDate;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column company.updated_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private Date updatedDate;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.id
	 * @return  the value of company.id
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.id
	 * @param id  the value for company.id
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.group_id
	 * @return  the value of company.group_id
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public Integer getGroupId() {
		return groupId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.group_id
	 * @param groupId  the value for company.group_id
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.company_name
	 * @return  the value of company.company_name
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.company_name
	 * @param companyName  the value for company.company_name
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.address
	 * @return  the value of company.address
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.address
	 * @param address  the value for company.address
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.tel
	 * @return  the value of company.tel
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public String getTel() {
		return tel;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.tel
	 * @param tel  the value for company.tel
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.created_date
	 * @return  the value of company.created_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public Date getCreatedDate() {
		return createdDate;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.created_date
	 * @param createdDate  the value for company.created_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column company.updated_date
	 * @return  the value of company.updated_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public Date getUpdatedDate() {
		return updatedDate;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column company.updated_date
	 * @param updatedDate  the value for company.updated_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	// --------------------------------------------------------------------------
	private CompanyGroup companyGroup;
	private List<CountryRelation> countryRelations;
	private List<CategoryRelation> categoryRelations;

	public CompanyGroup getCompanyGroup() {
		return companyGroup;
	}

	public void setCompanyGroup(CompanyGroup companyGroup) {
		this.companyGroup = companyGroup;
	}

	public List<CountryRelation> getCountryRelations() {
		return countryRelations;
	}

	public void setCountryRelations(List<CountryRelation> countryRelations) {
		this.countryRelations = countryRelations;
	}

	public List<CategoryRelation> getCategoryRelations() {
		return categoryRelations;
	}

	public void setCategoryRelations(List<CategoryRelation> categoryRelations) {
		this.categoryRelations = categoryRelations;
	}
}