X-Git-Url: https://git.hedgecode.org/?p=chesshog.git;a=blobdiff_plain;f=chesshog-dbetude%2Fsrc%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fchess%2Fdto%2FEtudeDTO.java;fp=chesshog-dbetude%2Fsrc%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fchess%2Fdto%2FEtudeDTO.java;h=cea3653c3544cbaab4a5241aab1824b4b9cd166b;hp=0000000000000000000000000000000000000000;hb=4d2b7f345d8079775373d95ab7c1a486cac96519;hpb=ccafd673bfcda89a75f428e58dc06525e1b0a368 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 index 0000000..cea3653 --- /dev/null +++ b/chesshog-dbetude/src/main/java/org/hedgecode/chess/dto/EtudeDTO.java @@ -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; + } + +}