1 package de.dlr.shepard.neo4Core.io;
2
3 import de.dlr.shepard.neo4Core.entities.FileContainer;
4 import io.swagger.v3.oas.annotations.media.Schema;
5 import io.swagger.v3.oas.annotations.media.Schema.AccessMode;
6 import lombok.Data;
7 import lombok.EqualsAndHashCode;
8 import lombok.NoArgsConstructor;
9
10 @Data
11 @EqualsAndHashCode(callSuper = true)
12 @NoArgsConstructor
13 @Schema(name = "FileContainer")
14 public class FileContainerIO extends BasicContainerIO {
15
16 @Schema(accessMode = AccessMode.READ_ONLY)
17 private String oid;
18
19 public FileContainerIO(FileContainer container) {
20 super(container);
21 this.oid = container.getMongoId();
22 }
23
24 }