tech.jhipster.lite.module.infrastructure.secondary.PersistedPresets Maven / Gradle / Ivy
package tech.jhipster.lite.module.infrastructure.secondary;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import tech.jhipster.lite.module.domain.preset.Preset;
record PersistedPresets(@JsonProperty("presets") Collection presets) {
public Collection toDomain() {
return presets.stream().map(PersistedPreset::toDomain).toList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy