package de.thpeetz.kontor

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding

@ConstructorBinding
@ConfigurationProperties("kontor")
data class KontorProperties(var title: String, var version: String = "unknown", val banner: Banner) {
    data class Banner(val title: String? = null, val content: String)
}