generate the Model (Entity page)