[master] adding manyToOne and oneToMany entity annotation + adding buildForm code