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.
99 lines
1.3 KiB
99 lines
1.3 KiB
package com.ischoolbar.programmer.entity.common;
|
|
|
|
import java.util.Date;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@Component
|
|
public class Comment {
|
|
|
|
private Long id;
|
|
|
|
private Long productId;
|
|
|
|
private Product product;
|
|
|
|
private Long userId;
|
|
|
|
private Account account;
|
|
|
|
private int type;
|
|
|
|
private String content;
|
|
|
|
private Date createTime;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
|
|
|
|
|
|
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 getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(int type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public Date getCreateTime() {
|
|
return createTime;
|
|
}
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Product getProduct() {
|
|
return product;
|
|
}
|
|
|
|
public void setProduct(Product product) {
|
|
this.product = product;
|
|
}
|
|
|
|
public Account getAccount() {
|
|
return account;
|
|
}
|
|
|
|
public void setAccount(Account account) {
|
|
this.account = account;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|