package jp.co.headwaters.webappos.model;

import java.util.Date;

public class CategoryDetail extends AbstractEntity {

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

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

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

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

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

	// --------------------------------------------------------------------------
	private Category category;

	public Category getCategory() {
		return category;
	}

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