代码生成

This commit is contained in:
PandaGoAdmin
2022-01-03 19:03:39 +08:00
parent 1a1f137725
commit b6a8fe5e1b
53 changed files with 2467 additions and 459 deletions

View File

@@ -6,7 +6,7 @@ type SysPost struct {
PostId int64 `gorm:"primary_key;AUTO_INCREMENT" json:"postId"`
PostName string `gorm:"type:varchar(128);comment:岗位名称" json:"postName"`
PostCode string `gorm:"type:varchar(128);comment:岗位代码" json:"postCode"`
Sort int64 `gorm:"type:int(4);comment:岗位排序" json:"sort"`
Sort int64 `gorm:"type:int;comment:岗位排序" json:"sort"`
Status string `gorm:"type:varchar(1);comment:状态" json:"status"`
Remark string `gorm:"type:varchar(255);comment:描述" json:"remark"`
CreateBy string `gorm:"type:varchar(128);" json:"createBy"`