package consts

// 公告状态
const (
	NoticeStatusAll        int32 = -1
	NoticeStatusRunning    int32 = 1
	NoticeStatusStopped    int32 = 2
	NoticeStatusTerminated int32 = 3
	NoticeStatusNotStarted int32 = 4
)

var NoticeStatusNameMap = map[int32]string{
	NoticeStatusAll:        "全部",
	NoticeStatusRunning:    "运行中",
	NoticeStatusStopped:    "已结束",
	NoticeStatusTerminated: "已终止",
	NoticeStatusNotStarted: "未开始",
}

var NoticeStatusTagMap = map[int32]string{
	NoticeStatusRunning:    "info",
	NoticeStatusStopped:    "default",
	NoticeStatusTerminated: "error",
	NoticeStatusNotStarted: "warning",
}

// 公告类型
const (
	NoticeTypeAll     int32 = -1
	NoticeTypeNorm    int32 = 1
	NoticeTypeStopSev int32 = 2
)

var NoticeTypeNameMap = map[int32]string{
	NoticeTypeAll:     "全部",
	NoticeTypeNorm:    "普通广播",
	NoticeTypeStopSev: "停服广播",
}
