package com.w1hd.zzhnc.model;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Id;

public class Goods {
	@Id
	private Integer id;
	private String name;
	private String description;
	private BigDecimal primePrice;
	private BigDecimal price;
	private String imageUrl;

	private String bannerUrl;

	private Date createtime;

	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.name
	 *
	 * @return the value of goods.name
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.name
	 *
	 * @param name
	 *            the value for goods.name
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.description
	 *
	 * @return the value of goods.description
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.description
	 *
	 * @param description
	 *            the value for goods.description
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.prime_price
	 *
	 * @return the value of goods.prime_price
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public BigDecimal getPrimePrice() {
		return primePrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.prime_price
	 *
	 * @param primePrice
	 *            the value for goods.prime_price
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setPrimePrice(BigDecimal primePrice) {
		this.primePrice = primePrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.price
	 *
	 * @return the value of goods.price
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public BigDecimal getPrice() {
		return price;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.price
	 *
	 * @param price
	 *            the value for goods.price
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.image_url
	 *
	 * @return the value of goods.image_url
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public String getImageUrl() {
		return imageUrl;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.image_url
	 *
	 * @param imageUrl
	 *            the value for goods.image_url
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl == null ? null : imageUrl.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.banner_url
	 *
	 * @return the value of goods.banner_url
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public String getBannerUrl() {
		return bannerUrl;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.banner_url
	 *
	 * @param bannerUrl
	 *            the value for goods.banner_url
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setBannerUrl(String bannerUrl) {
		this.bannerUrl = bannerUrl == null ? null : bannerUrl.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.createtime
	 *
	 * @return the value of goods.createtime
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public Date getCreatetime() {
		return createtime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.createtime
	 *
	 * @param createtime
	 *            the value for goods.createtime
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column goods.update_time
	 *
	 * @return the value of goods.update_time
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column goods.update_time
	 *
	 * @param updateTime
	 *            the value for goods.update_time
	 *
	 * @mbggenerated Tue Dec 26 15:09:23 CST 2017
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}