package com.jshoperx.entity; import java.io.Serializable; import javax.persistence.*; import java.util.Date; /** * The persistent class for the cart_t database table. * */ @Entity @Table(name="cart_t") @NamedQuery(name="CartT.findAll", query="SELECT c FROM CartT c") public class CartT implements Serializable { private static final long serialVersionUID = 1L; private String id; private Date addtime; private String cartTag; private String cartid; private double changeprice; private double favorable; private String goodsid; private String goodsname; private String htmlpath; private String memberid; private String membername; private int needquantity; private String orderTag; private String orderid; private String picture; private double points; private double price; private String productName; private String productid; private int quantity; private String shopid; private String shopname; private String state; private int storeTag; private double subtotal; private String userid; private String username; private String usersetnum; private String weight; public CartT() { } @Id public String getId() { return this.id; } public void setId(String id) { this.id = id; } @Temporal(TemporalType.TIMESTAMP) public Date getAddtime() { return this.addtime; } public void setAddtime(Date addtime) { this.addtime = addtime; } @Column(name="CART_TAG") public String getCartTag() { return this.cartTag; } public void setCartTag(String cartTag) { this.cartTag = cartTag; } public String getCartid() { return this.cartid; } public void setCartid(String cartid) { this.cartid = cartid; } public double getChangeprice() { return this.changeprice; } public void setChangeprice(double changeprice) { this.changeprice = changeprice; } public double getFavorable() { return this.favorable; } public void setFavorable(double favorable) { this.favorable = favorable; } public String getGoodsid() { return this.goodsid; } public void setGoodsid(String goodsid) { this.goodsid = goodsid; } public String getGoodsname() { return this.goodsname; } public void setGoodsname(String goodsname) { this.goodsname = goodsname; } public String getHtmlpath() { return this.htmlpath; } public void setHtmlpath(String htmlpath) { this.htmlpath = htmlpath; } public String getMemberid() { return this.memberid; } public void setMemberid(String memberid) { this.memberid = memberid; } public String getMembername() { return this.membername; } public void setMembername(String membername) { this.membername = membername; } public int getNeedquantity() { return this.needquantity; } public void setNeedquantity(int needquantity) { this.needquantity = needquantity; } @Column(name="ORDER_TAG") public String getOrderTag() { return this.orderTag; } public void setOrderTag(String orderTag) { this.orderTag = orderTag; } public String getOrderid() { return this.orderid; } public void setOrderid(String orderid) { this.orderid = orderid; } public String getPicture() { return this.picture; } public void setPicture(String picture) { this.picture = picture; } public double getPoints() { return this.points; } public void setPoints(double points) { this.points = points; } public double getPrice() { return this.price; } public void setPrice(double price) { this.price = price; } @Column(name="PRODUCT_NAME") public String getProductName() { return this.productName; } public void setProductName(String productName) { this.productName = productName; } public String getProductid() { return this.productid; } public void setProductid(String productid) { this.productid = productid; } public int getQuantity() { return this.quantity; } public void setQuantity(int quantity) { this.quantity = quantity; } public String getShopid() { return this.shopid; } public void setShopid(String shopid) { this.shopid = shopid; } public String getShopname() { return this.shopname; } public void setShopname(String shopname) { this.shopname = shopname; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } @Column(name="STORE_TAG") public int getStoreTag() { return this.storeTag; } public void setStoreTag(int storeTag) { this.storeTag = storeTag; } public double getSubtotal() { return this.subtotal; } public void setSubtotal(double subtotal) { this.subtotal = subtotal; } public String getUserid() { return this.userid; } public void setUserid(String userid) { this.userid = userid; } public String getUsername() { return this.username; } public void setUsername(String username) { this.username = username; } public String getUsersetnum() { return this.usersetnum; } public void setUsersetnum(String usersetnum) { this.usersetnum = usersetnum; } public String getWeight() { return this.weight; } public void setWeight(String weight) { this.weight = weight; } }