mirror of https://github.com/sismics/docs.git
104 lines
1.7 KiB
Java
104 lines
1.7 KiB
Java
package com.sismics.docs.core.dao.jpa.dto;
|
|
|
|
import javax.persistence.Id;
|
|
|
|
/**
|
|
* Document DTO.
|
|
*
|
|
* @author jtremeaux
|
|
*/
|
|
public class DocumentDto {
|
|
/**
|
|
* Document ID.
|
|
*/
|
|
@Id
|
|
private String id;
|
|
|
|
/**
|
|
* Title.
|
|
*/
|
|
private String title;
|
|
|
|
/**
|
|
* Description.
|
|
*/
|
|
private String description;
|
|
|
|
/**
|
|
* Creation date.
|
|
*/
|
|
private Long createTimestamp;
|
|
|
|
/**
|
|
* Getter de id.
|
|
*
|
|
* @return the id
|
|
*/
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* Setter de id.
|
|
*
|
|
* @param id id
|
|
*/
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* Getter de title.
|
|
*
|
|
* @return the title
|
|
*/
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
/**
|
|
* Setter de title.
|
|
*
|
|
* @param title title
|
|
*/
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
/**
|
|
* Getter de description.
|
|
*
|
|
* @return the description
|
|
*/
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
/**
|
|
* Setter de description.
|
|
*
|
|
* @param description description
|
|
*/
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
/**
|
|
* Getter de createTimestamp.
|
|
*
|
|
* @return the createTimestamp
|
|
*/
|
|
public Long getCreateTimestamp() {
|
|
return createTimestamp;
|
|
}
|
|
|
|
/**
|
|
* Setter of createTimestamp.
|
|
*
|
|
* @param createTimestamp createTimestamp
|
|
*/
|
|
public void setCreateTimestamp(Long createTimestamp) {
|
|
this.createTimestamp = createTimestamp;
|
|
}
|
|
}
|