/** * Este arquivo é parte do Biblivre3. * * Biblivre3 é um software livre; você pode redistribuí-lo e/ou * modificá-lo dentro dos termos da Licença Pública Geral GNU como * publicada pela Fundação do Software Livre (FSF); na versão 3 da * Licença, ou (caso queira) qualquer versão posterior. * * Este programa é distribuído na esperança de que possa ser útil, * mas SEM NENHUMA GARANTIA; nem mesmo a garantia implícita de * MERCANTIBILIDADE OU ADEQUAÇÃO PARA UM FIM PARTICULAR. Veja a * Licença Pública Geral GNU para maiores detalhes. * * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto * com este programa, Se não, veja em <http://www.gnu.org/licenses/>. * * @author Alberto Wagner <alberto@biblivre.org.br> * @author Danniel Willian <danniel@biblivre.org.br> * */ package biblivre3.circulation.reservation; import java.util.Date; import mercury.DTO; /** * */ public class ReservationDTO extends DTO { private Integer reservationSerial; private Integer recordSerial; private Integer userid; private Date created; private Date expires; transient private String title; transient private String author; public Integer getRecordSerial() { return (recordSerial == 0) ? null : recordSerial; } public void setRecordSerial(Integer recordSerial) { this.recordSerial = recordSerial; } public Integer getReservationSerial() { return reservationSerial; } public void setReservationSerial(Integer reservationSerial) { this.reservationSerial = reservationSerial; } public Integer getUserid() { return userid; } public void setUserid(Integer userid) { this.userid = userid; } public Date getCreated() { return created; } public void setCreated(Date created) { this.created = created; } public Date getExpires() { return expires; } public void setExpires(Date expires) { this.expires = expires; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } }