Automatic code generation method based on entity annotation
An automatic code and annotation technology, applied in the computer field, can solve problems such as time-consuming, high repetition, and low technical content
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] The present invention will be further described below in conjunction with the accompanying drawings.
[0019] Such as figure 1 As shown, an automatic code generation method based on entity annotations includes the following steps:
[0020] Step 1: Define the entity relationship model, write the entity class code and its annotations;
[0021] Step 2: Read all classes, fields and annotation information of the specified entity class, and generate data tables and fields in the target database;
[0022] Step 3: Generate server-side entity mapping, data access, business logic, and interface control layer codes according to the basic information of classes and fields;
[0023] Step 4: Generate front-end code;
[0024] Step 5: Run effect detection.
[0025] The step 4 specifically includes the following sub-steps:
[0026] Step 41: Select the corresponding style template according to the class annotation;
[0027] Step 42: Generate an entity class list page according to t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com