anchorRewardConf.go 969 B

12345678910111213141516171819202122232425
  1. package anchorTask
  2. import (
  3. xtime "go-common/library/time"
  4. )
  5. // TableName is used to identify table name in gorm
  6. func (arc *AnchorRewardConf) TableName() string {
  7. return "ap_anchor_task_reward_conf"
  8. }
  9. // AnchorRewardConf .
  10. type AnchorRewardConf struct {
  11. ID int64 `json:"id" gorm:"comumn:id"`
  12. Name string `json:"name" gorm:"comumn:name"`
  13. Icon string `json:"icon" gorm:"comumn:icon"`
  14. RewardIntro string `json:"reward_intro" gorm:"comumn:reward_intro"`
  15. RewardType int64 `json:"reward_type" gorm:"comumn:reward_type"`
  16. Detail string `json:"detail" gorm:"comumn:detail"`
  17. Instructions string `json:"instructions" gorm:"comumn:instructions"`
  18. Reserved1 int64 `json:"reserved1" gorm:"comumn:reserved1"`
  19. Reserved2 string `json:"reserved2" gorm:"comumn:reserved2"`
  20. Ctime xtime.Time `json:"ctime" gorm:"comumn:ctime"`
  21. Mtime xtime.Time `json:"mtime" gorm:"comumn:mtime"`
  22. }