marcelioleal / automatic

Code Generator in PHP using Zend Framework 2, Doctrine 2, HTML 5 and a beautiful architecture.
7 stars 0 forks source link

Generate Basic Entities #2

Closed marcelioleal closed 13 years ago

marcelioleal commented 13 years ago

Generate Entities using the doctrine generator.

You must generate with:

  1. Annotations
  2. Doctrine connectors
  3. All classes must inherit to BaseEntity
  4. Try if Doctrine works without get and set method - for example if doctrine work with magic set and get will be a good solution
  5. Add Repository annotation
rmauro commented 13 years ago

It's done. Class aren't inherit from BaseEntity. It's not necessary. Doctrine does not wor without gets and sets methods.