sketch_info.go 1.8 KB

123456789101112131415161718192021222324252627282930
  1. package gorm_model
  2. // Code generated by sql2gorm. DO NOT EDIT.
  3. import (
  4. "time"
  5. )
  6. type YounggeeSketchInfo struct {
  7. SketchID int `gorm:"column:sketch_id;primary_key;AUTO_INCREMENT"` // 初稿id
  8. TaskID string `gorm:"column:task_id;NOT NULL"` // 任务id
  9. Title string `gorm:"column:title"` // 标题
  10. Type int `gorm:"column:type"` // 初稿形式,1为图片,2为视频
  11. Content string `gorm:"column:content"` // 正文
  12. ReviseOpinion string `gorm:"column:revise_opinion"` // 反馈意见
  13. IsSubmit int `gorm:"column:is_submit;NOT NULL"` // 是否提交
  14. IsReview int `gorm:"column:is_review;default:0;NOT NULL"` // 是否审核
  15. IsOk int `gorm:"column:is_ok;NOT NULL"` // 是否合格
  16. CreateAt time.Time `gorm:"column:create_at;NOT NULL"` // 创建时间
  17. AgreeAt time.Time `gorm:"column:agree_at"` // 同意时间
  18. RejectAt time.Time `gorm:"column:reject_at"` // 驳回时间
  19. SubmitAt time.Time `gorm:"column:submit_at"` // 提交时间
  20. AutoAgreeAt time.Time `gorm:"column:auto_agree_at"` // 初稿自动审核时间
  21. AutoLinkBreakAt time.Time `gorm:"column:auto_link_break_at"` // 链接违约自动处理时间
  22. AutoSketchBreakAt time.Time `gorm:"column:auto_sketch_break_at"` // 初稿违约自动处理时间
  23. }
  24. func (m *YounggeeSketchInfo) TableName() string {
  25. return "younggee_sketch_info"
  26. }