View Javadoc
1   /*
2    * Copyright (c) 2022 Kaiserpfalz EDV-Service, Roland T. Lichti.
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.rpg.torg.model.items;
19  
20  import com.fasterxml.jackson.annotation.JsonInclude;
21  import de.kaiserpfalzedv.commons.core.resources.ResourceImpl;
22  import de.kaiserpfalzedv.rpg.torg.About;
23  import lombok.AllArgsConstructor;
24  import lombok.EqualsAndHashCode;
25  import lombok.Getter;
26  import lombok.ToString;
27  import lombok.experimental.SuperBuilder;
28  import lombok.extern.jackson.Jacksonized;
29  import org.eclipse.microprofile.openapi.annotations.media.Schema;
30  
31  /**
32   * Item -- Gear in the Torg Eternity World
33   *
34   * @author klenkes74 {@literal <rlichti@kaiserpfalz-edv.de>}
35   * @since 1.2.0  2021-05-23
36   */
37  @Jacksonized
38  @SuperBuilder(toBuilder = true)
39  @AllArgsConstructor
40  @Getter
41  @ToString(callSuper = true)
42  @EqualsAndHashCode(callSuper = false)
43  @JsonInclude(JsonInclude.Include.NON_ABSENT)
44  @Schema(description = "A single spell definition.")
45  public class Item extends ResourceImpl<ItemData> {
46      public static final String KIND = "Item";
47      public static final String VERSION = "v1";
48      public static final String NAMESPACE = About.TORG_NAMESPACE;
49  }