package gorm_model import "time" type YounggeeSketchInfo struct { SketchID int `gorm:"column:sketch_id;primary_key;AUTO_INCREMENT"` // 初稿id TaskID int `gorm:"column:task_id;NOT NULL"` // 任务id ReviseOpinion string `gorm:"column:revise_opinion"` CreateAt time.Time `gorm:"column:create_at;NOT NULL"` AgreeAt time.Time `gorm:"column:agree_at"` RejectAt time.Time `gorm:"column:reject_at"` IsSubmit int `gorm:"column:is_submit;NOT NULL"` // 是否提交 IsReview int `gorm:"column:is_review;default:0;NOT NULL"` // 是否审核 IsOk int `gorm:"column:is_ok;NOT NULL"` // 是否合格 } func (m *YounggeeSketchInfo) TableName() string { return "younggee_sketch_info" }