All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.ibodrov.mica.api.model.EntityVersion Maven / Gradle / Ivy

The newest version!
package ca.ibodrov.mica.api.model;

import javax.validation.constraints.NotNull;
import java.time.Instant;

import static java.util.Objects.requireNonNull;

public record EntityVersion(@NotNull EntityId id, @NotNull Instant updatedAt) {

    public EntityVersion {
        requireNonNull(id);
        requireNonNull(updatedAt);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy