1 package com.guinetik.hexafun.examples.counter;
2
3 /**
4 * Input types for counter operations.
5 */
6 public final class CounterInputs {
7
8 private CounterInputs() {}
9
10 /**
11 * Input for increment operation.
12 */
13 public record IncrementInput(Counter counter) {}
14
15 /**
16 * Input for decrement operation.
17 */
18 public record DecrementInput(Counter counter) {}
19
20 /**
21 * Input for add operation with amount validation.
22 */
23 public record AddInput(Counter counter, int amount) {}
24 }