punishment.go 289 B

1234567891011121314151617181920
  1. package model
  2. import (
  3. "go-common/library/time"
  4. )
  5. const (
  6. //PunishmentTypeBlock 封禁
  7. PunishmentTypeBlock = 1
  8. )
  9. // Punishment def.
  10. type Punishment struct {
  11. ID int64
  12. Mid int64
  13. Type int8 //封禁原因
  14. Reason string //惩罚原因
  15. CTime time.Time
  16. MTime time.Time
  17. }