View Javadoc
1   /*
2    * Copyright (c) 2021 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.core;
19  
20  import com.fasterxml.jackson.annotation.JsonInclude;
21  
22  import lombok.AllArgsConstructor;
23  import lombok.Builder;
24  import lombok.Getter;
25  import lombok.NoArgsConstructor;
26  import lombok.ToString;
27  import lombok.extern.jackson.Jacksonized;
28  
29  /**
30   * Wounds --
31   *
32   * @author klenkes74 {@literal <rlichti@kaiserpfalz-edv.de>}
33   * @since 1.3.0  2021-06-04
34   */
35  @Jacksonized
36  @Builder(toBuilder = true)
37  @AllArgsConstructor
38  @NoArgsConstructor
39  @Getter
40  @ToString
41  @JsonInclude(JsonInclude.Include.NON_ABSENT)
42  public class Level {
43      private int value;
44      private int max;
45  }