Create & Init Project...
This commit is contained in:
20
app/service/main/spy/model/punishment.go
Normal file
20
app/service/main/spy/model/punishment.go
Normal file
@ -0,0 +1,20 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"go-common/library/time"
|
||||
)
|
||||
|
||||
const (
|
||||
//PunishmentTypeBlock 封禁
|
||||
PunishmentTypeBlock = 1
|
||||
)
|
||||
|
||||
// Punishment def.
|
||||
type Punishment struct {
|
||||
ID int64
|
||||
Mid int64
|
||||
Type int8 //封禁原因
|
||||
Reason string //惩罚原因
|
||||
CTime time.Time
|
||||
MTime time.Time
|
||||
}
|
Reference in New Issue
Block a user