{"id":17299707,"url":"https://github.com/threefish/nutzfwcodegenerat","last_synced_at":"2025-04-14T12:30:31.377Z","repository":{"id":93222754,"uuid":"163059580","full_name":"threefish/NutzFwCodeGenerat","owner":"threefish","description":"Intellij idea plugin for NutzFw","archived":false,"fork":false,"pushed_at":"2020-05-05T14:47:04.000Z","size":4011,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T01:48:04.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/threefish/NutzFw","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/threefish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-25T07:46:42.000Z","updated_at":"2024-03-20T03:17:23.000Z","dependencies_parsed_at":"2023-03-24T08:16:12.128Z","dependency_job_id":null,"html_url":"https://github.com/threefish/NutzFwCodeGenerat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2FNutzFwCodeGenerat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2FNutzFwCodeGenerat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2FNutzFwCodeGenerat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2FNutzFwCodeGenerat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threefish","download_url":"https://codeload.github.com/threefish/NutzFwCodeGenerat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881230,"owners_count":21176818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T11:23:24.780Z","updated_at":"2025-04-14T12:30:31.368Z","avatar_url":"https://github.com/threefish.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NutzFw Code Generat\n## 代码生成器\n\n### 模版修改 \n   -  Settings \u003e\u003e Editor \u003e\u003e File and Code Templates \u003e\u003e Other \u003e\u003e NutzFw Code Generat\n   \n- [NutzFw项目模版下载地址](https://github.com/threefish/NutzFwCodeGenerat/tree/master/release)\n  - 如不是[NutzFw](https://github.com/threefish/NutzFw)项目，请务必修改模版\n \n 插件商店 https://plugins.jetbrains.com/plugin/11575\n \n ### 模版语法采用BEETL\n ```java   \n         /** 模板占位起始符号 */\n        \tString placeholderStart = \"#[\";\n        \t/** 模板占位结束符号 */\n        \tString placeholderEnd = \"]\";\n        \t/** 控制语句起始符号 */\n        \tString statementStart = \"\u003c##\";\n        \t/** 控制语句结束符号 */\n        \tString statementEnd = \"##\u003e\";\n ```\n    \n- 变量列表 -- 使用#[base.变量名]取用\n\n    | 变量名   |      类型      |  意义 |\n    |----------|:-------------:|------:|\n    | entityName | String| entityName |\n    | entityPackage| String| entity Package |\n    | serviceFileName | String| service File Name  |\n    | servicePackage| String| service Package |\n    | serviceImplFileName |String | serviceImpl File Name |\n    | serviceImplPackage |String | serviceImpl Package |\n    | actionFileName | String| action File Name |\n    | actionPackage |String | action package |\n    | funName |String | 当前功能名称 |\n    | templatePath |String | HTML模版目录  |\n    | userName | String| 姓名  |\n    | userMail | String| 用户邮箱  |\n    | primaryKey |String |主键  |\n    | uuid | boolean | 主键是否是UUID |\n    | richText | boolean | 是否有UE富文本编辑器 |\n    | attachment | boolean | 是否有附件上传 |\n    | multidict |boolean| 是否是NutzFw多选字典 |\n    | oneOneRelation |boolean| 存在一对一表单关联 |\n    | fields | List\u003cJavaFieldVO\u003e | 当前实体类的字段列表 |\n    \n- 当前实体类的字段信息\n    \n    | 变量名   |      类型      |  意义 | 默认值 |\n    |----------|:-------------:|------:|------:|\n    | name | String| JAVA字段名称 | 无|\n    | primaryKey| boolean| 主键 |false|\n    | comment | String| 字段描述  |无|\n    | columnName| String| 数据库字段名 |无|\n    | type |String | JAVA字段类型 |无|\n    | fullType |String | JAVA字段类型包含引用 |无|\n    | date | boolean| 是否日期 |false|\n    | 以下为NutzFw项目专用|\n    | dict |boolean | 是否字典 |false|\n    | dictCode |String | 字典Code |无|\n    | required |boolean | 是否必填必选字段 |false|\n    | text |int | 文本类型 输入框2-多行文本框3-百度UE4 |false|\n    | attachment |boolean | 附件类型|false|\n    | attachmentMultiple |boolean | 是否是多附件类型|false|\n    | attachmentAllIsImg |boolean | 附件全部是图片|false|\n    | attachSuffix |String | 限制附件格式(jpg,png)|xlsx,xls,png,jpg,doc,docx|\n    | placeholder |String |提示信息|无|\n    | maxLength |int |文本最大长度|10|\n    | oneOne |boolean |是单表关联|false|\n    | oneOneField |String |表关联字段||\n    | oneOneClassName |String |表关联类||\n    | oneOneClassQualifiedName |String |表关联类全路径||\n      \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefish%2Fnutzfwcodegenerat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreefish%2Fnutzfwcodegenerat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefish%2Fnutzfwcodegenerat/lists"}