VitalEntity

interface VitalEntity<T>

Defines an entity managed by a VitalRepository instance. The entity may be identified by the given generic type.

public class MyEntity implements VitalEntity<UUID> {
private UUID id;

public UUID getId() {
return id;
}

public void setId(UUID id) {
this.id = id;
}
}

Properties

Link copied to clipboard
abstract var id: T