1 package fr.tiogars.template.client;
2
3 import java.time.Instant;
4
5 /**
6 * Represents a DomainTemplate returned by the DomainTemplate API.
7 *
8 * @param id persistent identifier
9 * @param code unique template code
10 * @param label display label
11 * @param description optional description
12 * @param createdDate creation timestamp
13 * @param lastModifiedDate last modification timestamp
14 * @since 0.1.0
15 */
16 public record DomainTemplate(
17 Long id,
18 String code,
19 String label,
20 String description,
21 Instant createdDate,
22 Instant lastModifiedDate
23 ) {
24 }