重构增加模型枚举值定义
This commit is contained in:
9
web/domains/coupon/types.go
Normal file
9
web/domains/coupon/types.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package coupon
|
||||
|
||||
type Status int32
|
||||
|
||||
const (
|
||||
StatusUnused = iota // 未使用
|
||||
StatusUsed // 已使用
|
||||
StatusExpired // 已过期
|
||||
)
|
||||
Reference in New Issue
Block a user