Looking to hire Laravel developers? Try LaraJobs

laravel-structer maintained by vaened

Description
Helpers for typical structures in a development
Author
Last update
2024/07/22 19:10 (dev-master)
License
Links
Downloads
12
Tags

Comments
comments powered by Disqus

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(column: 'sex')]
    protected ?Sex     $sex;

    #[Property(column: 'birth_date')]
    protected ?Carbon  $birthDate;

    #[Property]
    protected Document $document;
}