script_info.go 1.7 KB

1234567891011121314151617181920212223242526272829
  1. package gorm_model
  2. // Code generated by sql2gorm. DO NOT EDIT.
  3. import (
  4. "time"
  5. )
  6. type YounggeeScriptInfo struct {
  7. ScriptID int `gorm:"column:script_id;primary_key;AUTO_INCREMENT"` // 脚本id
  8. TaskID string `gorm:"column:task_id;NOT NULL"` // 任务id
  9. Title string `gorm:"column:title;NOT NULL"` // 脚本标题
  10. Content string `gorm:"column:content;NOT NULL"` // 脚本内容
  11. ReviseOpinion string `gorm:"column:revise_opinion"` // 审核意见
  12. IsSubmit int `gorm:"column:is_submit;NOT NULL"` // 是否提交
  13. IsReview int `gorm:"column:is_review;default:0;NOT NULL"` // 是否审核
  14. IsOk int `gorm:"column:is_ok;NOT NULL"` // 是否合格
  15. CreateAt time.Time `gorm:"column:create_at"` // 创建时间
  16. SubmitAt time.Time `gorm:"column:submit_at"` // 提交时间
  17. AgreeAt time.Time `gorm:"column:agree_at"` // 同意时间
  18. RejectAt time.Time `gorm:"column:reject_at"` // 驳回时间
  19. AutoAgreeAt time.Time `gorm:"column:auto_agree_at"` // 脚本自动审核时间
  20. AutoSketchBreakAt time.Time `gorm:"column:auto_sketch_break_at"` // 初稿违约自动处理时间
  21. AutoScriptBreakAt time.Time `gorm:"column:auto_script_break_at"` // 脚本违约自动处理时间
  22. }
  23. func (m *YounggeeScriptInfo) TableName() string {
  24. return "younggee_script_info"
  25. }