Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package dtos;
- import java.io.Serializable;
- public class DocumentDTO implements Serializable {
- private int id;
- private String filepath;
- private String fileName;
- public DocumentDTO() {
- }
- public DocumentDTO(int id, String filepath, String fileName) {
- this.id = id;
- this.filepath = filepath;
- this.fileName = fileName;
- }
- public DocumentDTO(String filepath, String desiredName, String mimeType) {
- this(-1, filepath, desiredName);
- }
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public String getFilepath() {
- return filepath;
- }
- public void setFilepath(String filepath) {
- this.filepath = filepath;
- }
- public String getFileName() {
- return fileName;
- }
- public void setFileName(String fileName) {
- this.fileName = fileName;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement