63 lines
1.2 KiB
Java
63 lines
1.2 KiB
Java
package com.xubx.springboot_01demo.pojo;
|
|
|
|
import java.sql.Timestamp;
|
|
|
|
public class Blogs {
|
|
private int id;
|
|
private String title;
|
|
private String description;
|
|
private String content;
|
|
private Timestamp created;
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Blogs{" +
|
|
"id=" + id +
|
|
", title='" + title + '\'' +
|
|
", description='" + description + '\'' +
|
|
", content='" + content + '\'' +
|
|
", create='" + created + '\'' +
|
|
'}';
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public Timestamp getCreated() {
|
|
return created;
|
|
}
|
|
|
|
public void setCreated(Timestamp create) {
|
|
this.created = create;
|
|
}
|
|
}
|