feat:完善项目信息
This commit is contained in:
@ -21,7 +21,7 @@ type IModel interface {
|
||||
|
||||
// Model
|
||||
type Model struct {
|
||||
ID uint64 `gorm:"column:id;primaryKey;autoIncrement;type:int(11);comment:主键" json:"-"`
|
||||
ID uint64 `gorm:"column:id;primaryKey;autoIncrement;comment:主键" json:"-" form:"id"` // 主键
|
||||
|
||||
Database string `json:"-" gorm:"-"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user