78 lines
1.4 KiB
Java
78 lines
1.4 KiB
Java
package com.example.entity;
|
|
|
|
public class Article {
|
|
private Integer id;
|
|
private String title;
|
|
private String img;
|
|
private String content;
|
|
private String time;
|
|
private Integer studentId;
|
|
|
|
private String studentName;
|
|
private String studentAvatar;
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getImg() {
|
|
return img;
|
|
}
|
|
|
|
public void setImg(String img) {
|
|
this.img = img;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public String getTime() {
|
|
return time;
|
|
}
|
|
|
|
public void setTime(String time) {
|
|
this.time = time;
|
|
}
|
|
|
|
public Integer getStudentId() {
|
|
return studentId;
|
|
}
|
|
|
|
public void setStudentId(Integer studentId) {
|
|
this.studentId = studentId;
|
|
}
|
|
|
|
public String getStudentName() {
|
|
return studentName;
|
|
}
|
|
|
|
public void setStudentName(String studentName) {
|
|
this.studentName = studentName;
|
|
}
|
|
|
|
public String getStudentAvatar() {
|
|
return studentAvatar;
|
|
}
|
|
|
|
public void setStudentAvatar(String studentAvatar) {
|
|
this.studentAvatar = studentAvatar;
|
|
}
|
|
}
|