Skip to content

Add model properties from table's columns #31

Open
@andreacivita

Description

@andreacivita

It would be awesome to have model @property :type :name in Model class during generation.

Property name and type could be retrieved from table columns.

E.g:

in users table we could have:

name varchar(50) that will produce

<?php
...

/**
* @property string $name
*/
class User extends Model {
    ...
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions