📄 comment.java
字号:
package org.whatisjava.dang.domain;
import java.util.List;
public class Comment implements java.io.Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
private Integer productId;
private User user;
private List<?> replay;
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public List<?> getReplay() {
return replay;
}
public void setReplay(List<?> replay) {
this.replay = replay;
}
private String title;
private String content;
private long time;
public Comment() {
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getProductId() {
return this.productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public long getTime() {
return this.time;
}
public void setTime(long time) {
this.time = time;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -