forked from ps2hc5nfx/youxi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
1.4 KiB
106 lines
1.4 KiB
package com.ischoolbar.programmer.entity.home;
|
|
|
|
import java.util.Date;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@Component
|
|
public class Cart {
|
|
|
|
private Long id;
|
|
|
|
private Long productId;
|
|
|
|
private Long userId;
|
|
|
|
private String name;
|
|
|
|
private String imageUrl;
|
|
|
|
private Double price;
|
|
|
|
private int num;
|
|
|
|
private Double money;
|
|
|
|
private Date createTime;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getImageUrl() {
|
|
return imageUrl;
|
|
}
|
|
|
|
public void setImageUrl(String imageUrl) {
|
|
this.imageUrl = imageUrl;
|
|
}
|
|
|
|
public Double getPrice() {
|
|
return price;
|
|
}
|
|
|
|
public void setPrice(Double price) {
|
|
this.price = price;
|
|
}
|
|
|
|
public Date getCreateTime() {
|
|
return createTime;
|
|
}
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Long getProductId() {
|
|
return productId;
|
|
}
|
|
|
|
public void setProductId(Long productId) {
|
|
this.productId = productId;
|
|
}
|
|
|
|
public Long getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(Long userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public int getNum() {
|
|
return num;
|
|
}
|
|
|
|
public void setNum(int num) {
|
|
this.num = num;
|
|
}
|
|
|
|
public Double getMoney() {
|
|
return money;
|
|
}
|
|
|
|
public void setMoney(Double money) {
|
|
this.money = money;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|