add apis
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package dao
|
||||
|
||||
type UserAnswer struct {
|
||||
Id int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"`
|
||||
Answer uint8 `gorm:"column:answer;type:tinyint(1);default:2;comment:答题状态,1为答完, 2为未答" json:"answer"`
|
||||
}
|
||||
Reference in New Issue
Block a user