guide_log.gen.go 899 B

12345678910111213141516171819202122232425262728
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. import (
  6. "time"
  7. )
  8. const TableNameGuideLog = "guide_log"
  9. // GuideLog mapped from table <guide_log>
  10. type GuideLog struct {
  11. ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  12. GuideID int32 `gorm:"column:guide_id" json:"guide_id"`
  13. StepID int32 `gorm:"column:step_id" json:"step_id"`
  14. PlayerID int64 `gorm:"column:player_id" json:"player_id"`
  15. IsNew int32 `gorm:"column:is_new" json:"is_new"`
  16. EventTime time.Time `gorm:"column:event_time" json:"event_time"`
  17. EventDay time.Time `gorm:"column:event_day" json:"event_day"`
  18. Channel string `gorm:"column:channel" json:"channel"`
  19. }
  20. // TableName GuideLog's table name
  21. func (*GuideLog) TableName() string {
  22. return TableNameGuideLog
  23. }