[LIB-9] Rename chesshog-dbetude module
[chesshog.git] / chesshog-dbetude / src / main / java / org / hedgecode / chess / dto / EtudeDTO.java
1 /*
2  * Copyright (c) 2018. Developed by Hedgecode.
3  *
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
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.hedgecode.chess.dto;
18
19 import java.math.BigInteger;
20 import java.util.Date;
21
22 /**
23  *
24  *
25  * @author Dmitry Samoshin aka gotty
26  */
27 public class EtudeDTO {
28
29     /**
30      *
31      */
32     private Long id;
33
34     public Long getId() {
35         return id;
36     }
37
38     public void setId(Long id) {
39         this.id = id;
40     }
41
42     /**
43      *
44      */
45     private BigInteger hash;
46
47     public BigInteger getHash() {
48         return hash;
49     }
50
51     public void setHash(BigInteger hash) {
52         this.hash = hash;
53     }
54
55     /**
56      *
57      */
58     private String name;
59
60     public String getName() {
61         return name;
62     }
63
64     public void setName(String name) {
65         this.name = name;
66     }
67
68     /**
69      *
70      */
71     private Long etudeTypeId;
72
73     public Long getEtudeTypeId() {
74         return etudeTypeId;
75     }
76
77     public void setEtudeTypeId(Long etudeTypeId) {
78         this.etudeTypeId = etudeTypeId;
79     }
80
81     /**
82      *
83      */
84     private Long authorId;
85
86     public Long getAuthorId() {
87         return authorId;
88     }
89
90     public void setAuthorId(Long authorId) {
91         this.authorId = authorId;
92     }
93
94     /**
95      *
96      */
97     private String authorName;
98
99     public String getAuthorName() {
100         return authorName;
101     }
102
103     public void setAuthorName(String authorName) {
104         this.authorName = authorName;
105     }
106
107     /**
108      *
109      */
110     private String fen;
111
112     public String getFen() {
113         return fen;
114     }
115
116     public void setFen(String fen) {
117         this.fen = fen;
118     }
119
120     /**
121      *
122      */
123     private String pgn;
124
125     public String getPgn() {
126         return pgn;
127     }
128
129     public void setPgn(String pgn) {
130         this.pgn = pgn;
131     }
132
133     /**
134      *
135      */
136     private byte[] blob;
137
138     public byte[] getBlob() {
139         return blob;
140     }
141
142     public void setBlob(byte[] blob) {
143         this.blob = blob;
144     }
145
146     /**
147      *
148      */
149     private Date date;
150
151     public Date getDate() {
152         return date;
153     }
154
155     public void setDate(Date date) {
156         this.date = date;
157     }
158
159     /**
160      *
161      */
162     private String description;
163
164     public String getDescription() {
165         return description;
166     }
167
168     public void setDescription(String description) {
169         this.description = description;
170     }
171
172 }