chore: seed migration objects batch 5
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package consts
|
||||
|
||||
import (
|
||||
"hotgo/internal/library/dict"
|
||||
"hotgo/internal/model"
|
||||
)
|
||||
|
||||
func init() {
|
||||
dict.RegisterEnums("ImTaskDashboardStatusOptions", "IM任务看板状态选项", ImTaskDashboardStatusOptions)
|
||||
}
|
||||
|
||||
const (
|
||||
ImTaskDashboardStatusHealthy = "healthy"
|
||||
ImTaskDashboardStatusWarning = "warning"
|
||||
ImTaskDashboardStatusError = "error"
|
||||
)
|
||||
|
||||
var ImTaskDashboardStatusOptions = []*model.Option{
|
||||
dict.GenSuccessOption(ImTaskDashboardStatusHealthy, "正常"),
|
||||
dict.GenWarningOption(ImTaskDashboardStatusWarning, "待处理"),
|
||||
dict.GenErrorOption(ImTaskDashboardStatusError, "异常"),
|
||||
}
|
||||
Reference in New Issue
Block a user