blob: 84b8b3fcb34f149529b9e42981271d9f43a71489 [file] [log] [blame]
margarethafc7d7772018-01-16 17:48:17 +01001package de.ids_mannheim.korap.dto;
2
3import lombok.Getter;
4import lombok.Setter;
5
margaretha69e8adc2018-03-15 15:14:22 +01006/**
margarethab097fb02021-02-22 19:28:33 +01007 * Defines the structure of query accesses, e.g. as JSON
margaretha398f4722019-01-09 19:07:20 +01008 * objects in HTTP Responses.
9 *
margaretha69e8adc2018-03-15 15:14:22 +010010 * @author margaretha
11 *
12 */
margarethafc7d7772018-01-16 17:48:17 +010013@Getter
14@Setter
margarethab097fb02021-02-22 19:28:33 +010015public class QueryAccessDto {
margarethafc7d7772018-01-16 17:48:17 +010016 private int accessId;
17 private String createdBy;
margarethab097fb02021-02-22 19:28:33 +010018 private int queryId;
19 private String queryName;
margarethafc7d7772018-01-16 17:48:17 +010020 private int userGroupId;
21 private String userGroupName;
margaretha3ccaeb72019-02-28 18:40:22 +010022
23 @Override
24 public String toString () {
margaretha35e1ca22023-11-16 22:00:01 +010025 return "accessId=" + accessId + ", createdBy=" + createdBy
26 + " , queryId=" + queryId + ", queryName=" + queryName
27 + ", userGroupId=" + userGroupId + ", userGroupName="
28 + userGroupName;
margaretha3ccaeb72019-02-28 18:40:22 +010029 }
margarethafc7d7772018-01-16 17:48:17 +010030}