Files
spring-boot-rest/java-lite/src/main/java/app/models/Article.java
Dhrubajyoti Bhattacharjee d7aecc83de BAEL-1275 Introduction to ActiveWeb (#3638)
* BAEL-1275 Introduction to active web first commit

* BAEL-1275 Added the module to parent pom

* BAEL-1275 Introduction to ActiveWeb
2018-02-24 08:18:53 +01:00

50 lines
908 B
Java
Executable File

package app.models;
public class Article {
private String title;
private String author;
private String words;
private String date;
public Article(String title, String author, String words, String date) {
super();
this.title = title;
this.author = author;
this.words = words;
this.date = date;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getWords() {
return words;
}
public void setWords(String words) {
this.words = words;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
}