Add active information api

This commit is contained in:
2023-12-19 16:52:53 +08:00
parent 7e792ca35d
commit b2b4ac5302
10 changed files with 169 additions and 12 deletions

View File

@@ -0,0 +1,26 @@
package top.fatweb.api.param.system
import com.baomidou.mybatisplus.annotation.EnumValue
import com.fasterxml.jackson.annotation.JsonValue
data class ActiveInfoGetParam(
val scope: Scope = Scope.WEAK
) {
enum class Scope(@field:EnumValue @field:JsonValue val code: String) {
WEAK("WEAK"),
MONTH("MONTH"),
QUARTER("QUARTER"),
YEAR("YEAR"),
TWO_YEARS("TWO_YEARS"),
THREE_YEARS("THREE_YEARS"),
FIVE_YEARS("FIVE_YEARS"),
ALL("ALL")
}
}