florianschmitt/connection-backend

View on GitHub
src/main/kotlin/de/florianschmitt/model/entities/EVolunteer.kt

Summary

Maintainability
A
0 mins
Test Coverage
package de.florianschmitt.model.entities

import javax.persistence.Entity
import javax.persistence.ManyToMany
import javax.validation.constraints.NotNull
import javax.validation.constraints.Size

@Entity
class EVolunteer : EAbstractUser() {

    @NotNull
    @Size(min = 1)
    @ManyToMany
    var languages: Set<ELanguage>? = null
}