代码初始化
This commit is contained in:
12
consts/knapsack/knapsack_status.go
Normal file
12
consts/knapsack/knapsack_status.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package knapsack
|
||||
|
||||
// KnapsackStatus 背包项状态
|
||||
type KnapsackStatus int
|
||||
|
||||
const (
|
||||
KnapsackStatusDisabled KnapsackStatus = 0 // 禁用
|
||||
KnapsackStatusActive KnapsackStatus = 1 // 启用(可用)
|
||||
KnapsackStatusUsed KnapsackStatus = 2 // 已使用
|
||||
KnapsackStatusListed KnapsackStatus = 3 // 已上架到市场
|
||||
KnapsackStatusExpired KnapsackStatus = 4 // 已过期
|
||||
)
|
||||
Reference in New Issue
Block a user