ca.ibodrov.mica.api.model.PartialEntity Maven / Gradle / Ivy
package ca.ibodrov.mica.api.model;
import com.fasterxml.jackson.databind.JsonNode;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.OffsetDateTime;
import java.util.Optional;
public record PartialEntity(@NotNull Optional id,
@NotEmpty String name,
@NotEmpty String kind,
@NotNull Optional createdAt,
@NotNull Optional updatedAt,
@NotNull JsonNode data) {
}