feat: 增加添加字段功能,方便用户粘贴赋值字段到对应代码位置

This commit is contained in:
pixelmaxQM
2024-10-17 22:29:52 +08:00
parent f237ac981e
commit efac72ecbb
14 changed files with 1278 additions and 28 deletions

View File

@@ -26,6 +26,7 @@ type AutoCode struct {
AutoCreateMenuToSql bool `json:"autoCreateMenuToSql" example:"false"` // 是否自动创建menu
AutoCreateBtnAuth bool `json:"autoCreateBtnAuth" example:"false"` // 是否自动创建按钮权限
OnlyTemplate bool `json:"onlyTemplate" example:"false"` // 是否只生成模板
IsAdd bool `json:"isAdd" example:"false"` // 是否新增
Fields []*AutoCodeField `json:"fields"`
DictTypes []string `json:"-"`
PrimaryField *AutoCodeField `json:"primaryField"`