package pers.msidolphin.mmall.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 
* @Title: Cart.java 
* @Package pers.msidolphin.mmall.pojo 
* @Description: 购物车pojo 对应cart表
* @author msidolphin
* @date 2017年7月8日 下午9:24:39 
* @version V1.0
 */
public class Cart implements Serializable{
	
	private static final long serialVersionUID = -7262250060328847769L;

	private Integer id;

    private Integer userId;

    private Integer productId;

    private Integer quantity;

    private Integer checked;

    private Date createTime;

    private Date updateTime;

    public Cart() {
        super();
    }

    public Integer getChecked() {
        return checked;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Integer getId() {
        return id;
    }

    public Integer getProductId() {
        return productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

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

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}