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.math.BigInteger;
20 import java.util.Date;
25 * @author Dmitry Samoshin aka gotty
27 public class EtudeDTO {
38 public void setId(Long id) {
45 private BigInteger hash;
47 public BigInteger getHash() {
51 public void setHash(BigInteger hash) {
60 public String getName() {
64 public void setName(String name) {
71 private Long etudeTypeId;
73 public Long getEtudeTypeId() {
77 public void setEtudeTypeId(Long etudeTypeId) {
78 this.etudeTypeId = etudeTypeId;
84 private Long authorId;
86 public Long getAuthorId() {
90 public void setAuthorId(Long authorId) {
91 this.authorId = authorId;
97 private String authorName;
99 public String getAuthorName() {
103 public void setAuthorName(String authorName) {
104 this.authorName = authorName;
112 public String getFen() {
116 public void setFen(String fen) {
125 public String getPgn() {
129 public void setPgn(String pgn) {
138 public byte[] getBlob() {
142 public void setBlob(byte[] blob) {
151 public Date getDate() {
155 public void setDate(Date date) {
162 private String description;
164 public String getDescription() {
168 public void setDescription(String description) {
169 this.description = description;