添加 submit 表记录每次提交配置;顺序排列提交配置
This commit is contained in:
14
model/submit.go
Normal file
14
model/submit.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Submit struct {
|
||||
Id int `gorm:"column:id;primaryKey"`
|
||||
Time time.Time `gorm:"column:time"`
|
||||
Gateway string `gorm:"column:gateway"`
|
||||
Config string `gorm:"column:config"`
|
||||
}
|
||||
|
||||
func (Submit) TableName() string {
|
||||
return "submit"
|
||||
}
|
||||
Reference in New Issue
Block a user