2021-05-18 10:39:20 +07:00
|
|
|
package com.cubetiqs.web.property
|
|
|
|
|
2022-04-11 09:03:04 +07:00
|
|
|
import com.cubetiqs.web.annotation.FunctionComponent
|
2021-05-18 10:39:20 +07:00
|
|
|
import org.springframework.beans.factory.annotation.Value
|
|
|
|
|
|
|
|
@FunctionComponent
|
2021-12-11 12:19:23 +07:00
|
|
|
class AppProperties(
|
|
|
|
@Value("\${cubetiq.app.name:CUBETIQ Web API}")
|
2021-05-18 10:39:20 +07:00
|
|
|
val appName: String,
|
|
|
|
|
2021-12-11 12:19:23 +07:00
|
|
|
@Value("\${cubetiq.app.description:CUBETIQ Web APIs Documentation}")
|
2021-05-18 10:39:20 +07:00
|
|
|
val appDescription: String,
|
2021-12-11 12:19:23 +07:00
|
|
|
|
|
|
|
@Value("\${cubetiq.app.version:v0.0.1}")
|
|
|
|
val appVersion: String,
|
|
|
|
|
|
|
|
@Value("\${cubetiq.app.license-url:https://cubetiqs.com}")
|
|
|
|
val appLicenseUrl: String,
|
2021-05-18 10:39:20 +07:00
|
|
|
)
|