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.
82 lines
1.1 KiB
82 lines
1.1 KiB
package com.ischoolbar.programmer.entity.home;
|
|
|
|
import java.util.Date;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@Component
|
|
public class Favorite {
|
|
|
|
private Long id;
|
|
|
|
private Long productId;
|
|
|
|
private Long userId;
|
|
|
|
private String name;
|
|
|
|
private String imageUrl;
|
|
|
|
private Double price;
|
|
|
|
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;
|
|
}
|
|
|
|
}
|