[LIB-9] Rename chesshog-dbetude module
[chesshog.git] / chesshog-dbetude / src / main / java / org / hedgecode / chess / dto / EtudeDTO.java
diff --git a/chesshog-dbetude/src/main/java/org/hedgecode/chess/dto/EtudeDTO.java b/chesshog-dbetude/src/main/java/org/hedgecode/chess/dto/EtudeDTO.java
new file mode 100644 (file)
index 0000000..cea3653
--- /dev/null
@@ -0,0 +1,172 @@
+/*
+ * Copyright (c) 2018. Developed by Hedgecode.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.hedgecode.chess.dto;
+
+import java.math.BigInteger;
+import java.util.Date;
+
+/**
+ *
+ *
+ * @author Dmitry Samoshin aka gotty
+ */
+public class EtudeDTO {
+
+    /**
+     *
+     */
+    private Long id;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    /**
+     *
+     */
+    private BigInteger hash;
+
+    public BigInteger getHash() {
+        return hash;
+    }
+
+    public void setHash(BigInteger hash) {
+        this.hash = hash;
+    }
+
+    /**
+     *
+     */
+    private String name;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    /**
+     *
+     */
+    private Long etudeTypeId;
+
+    public Long getEtudeTypeId() {
+        return etudeTypeId;
+    }
+
+    public void setEtudeTypeId(Long etudeTypeId) {
+        this.etudeTypeId = etudeTypeId;
+    }
+
+    /**
+     *
+     */
+    private Long authorId;
+
+    public Long getAuthorId() {
+        return authorId;
+    }
+
+    public void setAuthorId(Long authorId) {
+        this.authorId = authorId;
+    }
+
+    /**
+     *
+     */
+    private String authorName;
+
+    public String getAuthorName() {
+        return authorName;
+    }
+
+    public void setAuthorName(String authorName) {
+        this.authorName = authorName;
+    }
+
+    /**
+     *
+     */
+    private String fen;
+
+    public String getFen() {
+        return fen;
+    }
+
+    public void setFen(String fen) {
+        this.fen = fen;
+    }
+
+    /**
+     *
+     */
+    private String pgn;
+
+    public String getPgn() {
+        return pgn;
+    }
+
+    public void setPgn(String pgn) {
+        this.pgn = pgn;
+    }
+
+    /**
+     *
+     */
+    private byte[] blob;
+
+    public byte[] getBlob() {
+        return blob;
+    }
+
+    public void setBlob(byte[] blob) {
+        this.blob = blob;
+    }
+
+    /**
+     *
+     */
+    private Date date;
+
+    public Date getDate() {
+        return date;
+    }
+
+    public void setDate(Date date) {
+        this.date = date;
+    }
+
+    /**
+     *
+     */
+    private String description;
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+}