diff --git a/src/main/java/cz/cvut/kbss/termit/dto/PasswordChangeDto.java b/src/main/java/cz/cvut/kbss/termit/dto/PasswordChangeDto.java index 8855b7bb3..b8080691e 100644 --- a/src/main/java/cz/cvut/kbss/termit/dto/PasswordChangeDto.java +++ b/src/main/java/cz/cvut/kbss/termit/dto/PasswordChangeDto.java @@ -1,13 +1,25 @@ package cz.cvut.kbss.termit.dto; +import cz.cvut.kbss.jopa.model.annotations.Id; +import cz.cvut.kbss.jopa.model.annotations.OWLClass; +import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty; +import cz.cvut.kbss.jopa.vocabulary.DC; +import cz.cvut.kbss.termit.util.Vocabulary; + import java.io.Serializable; import java.net.URI; import java.net.URLDecoder; import java.nio.charset.StandardCharsets; +@OWLClass(iri = Vocabulary.ONTOLOGY_IRI_TERMIT + "/password-change") public class PasswordChangeDto implements Serializable { + @Id private URI uri; + + @OWLDataProperty(iri = DC.Terms.IDENTIFIER) private String token; + + @OWLDataProperty(iri = Vocabulary.s_p_ma_heslo) private String newPassword; public URI getUri() {