28 lines
446 B
Java
28 lines
446 B
Java
|
package ru.ulstu.paper.model;
|
||
|
|
||
|
public class Paper {
|
||
|
private int id;
|
||
|
private String title;
|
||
|
|
||
|
public Paper(int id, String title) {
|
||
|
this.id = id;
|
||
|
this.title = title;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|