2 * Copyright (c) 2018. Developed by Hedgecode.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.hedgecode.chess.dto;
19 import java.util.Date;
24 * @author Dmitry Samoshin aka gotty
26 public class AuthorDTO {
37 public void setId(Long id) {
46 public String getName() {
50 public void setName(String name) {
57 private Date birthdate;
59 public Date getBirthdate() {
63 public void setBirthdate(Date birthdate) {
64 this.birthdate = birthdate;
70 private Date deathdate;
72 public Date getDeathdate() {
76 public void setDeathdate(Date deathdate) {
77 this.deathdate = deathdate;
83 private String biography;
85 public String getBiography() {
89 public void setBiography(String biography) {
90 this.biography = biography;
96 private String comment;
98 public String getComment() {
102 public void setComment(String comment) {
103 this.comment = comment;