12c40c6004
Add Node.js CLI tool with Handlebars templates for generating standard CRUD artifacts: Java entity, service, DAO, controller, MyBatis mapper XML, and Vue frontend pages. Also generate the full SampleTableBoard CRUD reference implementation, update README with backend execution instructions, and add project plan documentation.
16 lines
208 B
Handlebars
16 lines
208 B
Handlebars
package {{entityPackage}};
|
|
|
|
{{#each entityImports}}
|
|
import {{this}};
|
|
{{/each}}
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class {{entityName}} {
|
|
|
|
{{#each columns}}
|
|
private {{javaType}} {{propertyName}};
|
|
|
|
{{/each}}
|
|
}
|