data.go 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. import (
  4. "time"
  5. )
  6. type YounggeeDataInfo struct {
  7. DataID int `gorm:"column:data_id;primary_key;AUTO_INCREMENT"` // 脚本id
  8. TaskID int `gorm:"column:task_id;NOT NULL"` // 任务id
  9. PlayNumber int `gorm:"column:play_number;NOT NULL"` // 播放量/阅读量
  10. LikeNumber int `gorm:"column:like_number;NOT NULL"` // 点赞数
  11. CommentNumber int `gorm:"column:comment_number;NOT NULL"` // 评论数
  12. CollectNumber int `gorm:"column:collect_number;NOT NULL"` // 收藏数
  13. PhotoUrl string `gorm:"column:photo_url;NOT NULL"` // 数据截图url
  14. ReviseOpinion string `gorm:"column:revise_opinion"` // 审核意见
  15. IsSubmit int `gorm:"column:is_submit;NOT NULL"` // 是否提交
  16. IsReview int `gorm:"column:is_review;default:0;NOT NULL"` // 是否审核
  17. IsOk int `gorm:"column:is_ok;NOT NULL"` // 是否合格
  18. CreateAt time.Time `gorm:"column:create_at;NOT NULL"` // 创建时间
  19. SubmitAt time.Time `gorm:"column:submit_at"` // 提交时间
  20. AgreeAt time.Time `gorm:"column:agree_at"` // 同意时间
  21. RejectAt time.Time `gorm:"column:reject_at"` // 驳回时间
  22. AutoAgreeAt time.Time `gorm:"column:auto_agree_at"` // 结案自动处理时间
  23. AutoDataBreakAt time.Time `gorm:"column:auto_data_break_at"` // 结案违约自动处理时间
  24. }
  25. func (m *YounggeeDataInfo) TableName() string {
  26. return "younggee_data_info"
  27. }