@@ -8,20 +8,35 @@ JimmerBuddy can generate entity classes from the databases or ddl files.
8
8
2 . Switch to ` Database ` tab.
9
9
3 . Click ` + ` button to add a database or ddl file.
10
10
11
- ![ 20250524204214 ] ( https://s2.loli.net/2025/05/24/p6r1P3MADVmzhkJ .png )
11
+ ![ 20250525161526 ] ( https://s2.loli.net/2025/05/25/6LqW4NlZKJhR9uM .png )
12
12
13
13
4 . Input some information about the database or ddl file.
14
14
15
- ![ 20250524204250] ( https://s2.loli.net/2025/05/24/zeITHF8rkLGWx3t.png )
16
- ![ 20250524204416] ( https://s2.loli.net/2025/05/24/RGaKgpvNbJu1MdE.png )
15
+ ![ 20250525162253] ( https://s2.loli.net/2025/05/25/C1REKkceOMHq2AP.png )
17
16
18
17
5 . Click ` OK ` button to save the configuration.
19
18
20
- ![ 20250524204456 ] ( https://s2.loli.net/2025/05/24/1MEC3GrcBz4P6Vn .png )
19
+ ![ 20250525162311 ] ( https://s2.loli.net/2025/05/25/N64wXcrDvsyY3qP .png )
21
20
22
21
6 . Select the database or ddl file then right click it.
23
22
7 . Select ` Generate ` from the context menu.
23
+ 8 . In the popup dialog, input the relative path and package name.
24
24
25
- ![ ] ( https://s2.loli.net/2025/05/24/1z3CVWorRKgq9hS .png )
25
+ ![ 20250525162405 ] ( https://s2.loli.net/2025/05/25/Bl3cTdeaEtIC49s .png )
26
26
27
- 8 . Click ` OK ` button to generate the entity classes.
27
+ 9 . Click ` OK ` button to generate the entity classes.
28
+
29
+ ![ 20250525162454] ( https://s2.loli.net/2025/05/25/v85Khz2HL7Y6FQE.png )
30
+
31
+ ## Configuration Entity Comments
32
+
33
+ Go to the ` File and Code Templates ` settings page and select ` Jimmer ` .
34
+
35
+ ![ 20250525162739] ( https://s2.loli.net/2025/05/25/c6bPYIXEo9wvutA.png )
36
+
37
+ ## Notes
38
+
39
+ - The generated entity classes will overwrite the existing ones with the same name.
40
+ - Tables without a primary key will not be generated.
41
+ - The ` BaseEntity ` will only be generated if the public fields are present in all tables.
42
+ - Join tables will only be treated as such if they have no primary key and only two fields.
0 commit comments