View Javadoc
1   /*
2    * Copyright (c) 2021-2023. Roland T. Lichti, Kaiserpfalz EDV-Service.
3    *
4    * This program is free software: you can redistribute it and/or modify
5    * it under the terms of the GNU General Public License as published by
6    * the Free Software Foundation, either version 3 of the License, or
7    * (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU General Public License for more details.
13   *
14   * You should have received a copy of the GNU General Public License
15   * along with this program.  If not, see <https://www.gnu.org/licenses/>.
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  }