1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package de.kaiserpfalzedv.commons.core.user;
19
20 import org.eclipse.microprofile.openapi.annotations.media.Schema;
21
22 import com.fasterxml.jackson.annotation.JsonInclude;
23
24 import de.kaiserpfalzedv.commons.api.user.User;
25 import de.kaiserpfalzedv.commons.api.user.UserData;
26 import de.kaiserpfalzedv.commons.core.resources.ResourceImpl;
27 import lombok.EqualsAndHashCode;
28 import lombok.Getter;
29 import lombok.RequiredArgsConstructor;
30 import lombok.ToString;
31 import lombok.experimental.SuperBuilder;
32 import lombok.extern.jackson.Jacksonized;
33
34 @Jacksonized
35 @SuperBuilder(toBuilder = true)
36 @RequiredArgsConstructor
37 @Getter
38 @ToString(callSuper = true)
39 @EqualsAndHashCode(callSuper = true)
40 @JsonInclude(JsonInclude.Include.NON_ABSENT)
41 @Schema(name = "User", description = "a user of the tomb system.")
42 public class UserImpl extends ResourceImpl<UserData> implements User {
43 private static final long serialVersionUID = 0L;
44
45 private UserDataImpl spec;
46 }