The main advantages of combining Model and Bean


  • Make full use of a large number of third-party tools for Bean design, such as jackson and freemarker
  • Quickly respond to database table changes, quickly reconstruct, improve development efficiency, and improve Code quality
  • With IDE code prompts, there is no need to memorize data table field names, eliminating the memory burden and avoiding manual errors in handwritten field names
  • BaseModel design keeps the Model fresh , quickly reconstruct the associated code when the table structure changes
  • Automated table to Model mapping
  • Automated primary key and composite primary key name identification and mapping
  • MappingKit carries the mapping code, and JFinalConfig remains clean and refreshing
  • It is conducive to the use of Model in distributed scenarios and when there is no data source
  • The new design avoids the previous automatic scanning mapping design Several shortcomings: introducing new concepts (such as annotations) increases learning costs, low performance, low reliability and security of jar package scanning