vaened / laravel-structer

Helpers for typical structures in a development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

laravel-structer

Helpers for typical structures in a development

Build Status Software License

class PersonStruct extends Structurable
{
    #[Property(column: 'id')]
    protected int $ID;

    #[Property(column: 'first_name')]
    protected string $firstName;

    #[Property(column: 'last_name')]
    protected string $lastName;

    #[Property(column: 'phone_number')]
    protected ?string $phoneNumber;

    #[Property(column: 'country_id', references: 'countries')]
    protected ?string $countryID;

    #[Property]
    protected Document $document;
}

About

Helpers for typical structures in a development

License:MIT License


Languages

Language:PHP 100.0%