feat:update sql init
This commit is contained in:
1 parent
ca8d1e7e33
commit
000cd1d07d
10 files changed
+370
-347
No files matched your search
@@ -14,9 +14,10 @@ type Post struct {
|
||||
Remark string `gorm:"size:255;" json:"remark"` //描述
|
||||
CreateBy string `gorm:"size:128;" json:"createBy"`
|
||||
UpdateBy string `gorm:"size:128;" json:"updateBy"`
|
||||
BaseModel
|
||||
|
||||
DataScope string `gorm:"-" json:"dataScope"`
|
||||
Params string `gorm:"-" json:"params"`
|
||||
BaseModel
|
||||
}
|
||||
|
||||
func (Post) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user