package jp.co.headwaters.webappos.model;

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

public class Country extends AbstractEntity {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column country.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 country.country_name
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	private String countryName;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column country.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 country.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 country.id
	 * @return  the value of country.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 country.id
	 * @param id  the value for country.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 country.country_name
	 * @return  the value of country.country_name
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public String getCountryName() {
		return countryName;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column country.created_date
	 * @return  the value of country.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 country.created_date
	 * @param createdDate  the value for country.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 country.updated_date
	 * @return  the value of country.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 country.updated_date
	 * @param updatedDate  the value for country.updated_date
	 * @mbggenerated  Wed Sep 11 14:31:07 JST 2013
	 */
	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	// --------------------------------------------------------------------------
	private List<CountryRelation> countryRelations;

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

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