blacklist.go 866 B

1234567891011121314151617181920212223242526
  1. package model
  2. import (
  3. "go-common/library/time"
  4. )
  5. // Blacklist black list
  6. type Blacklist struct {
  7. ID int64 `json:"id" gorm:"column:id"`
  8. AvID int64 `json:"av_id" gorm:"column:av_id"`
  9. MID int64 `json:"mid" gorm:"column:mid"`
  10. Nickname string `json:"nickname" gorm:"column:nickname"`
  11. HasSigned int `json:"has_signed" gorm:"column:has_signed"`
  12. Income int64 `json:"income"`
  13. Reason int `json:"reason" gorm:"column:reason"`
  14. CType int `json:"ctype" gorm:"column:ctype"`
  15. CTime time.Time `json:"ctime" gorm:"column:ctime"`
  16. MTime time.Time `json:"mtime" gorm:"column:mtime"`
  17. IsDeleted int `json:"-"`
  18. }
  19. // AvIncomeStatis av income statis
  20. type AvIncomeStatis struct {
  21. AvID int64 `json:"av_id" gorm:"column:av_id"`
  22. TotalIncome int64 `json:"total_income" gorm:"total_income"`
  23. }