feat(Structure & IDE Helper)
This commit is contained in:
@@ -7,6 +7,60 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int|null $user_id
|
||||
* @property string|null $keycloak_id
|
||||
* @property string $status
|
||||
* @property string $nature
|
||||
* @property int|null $group_id
|
||||
* @property string|null $lastname
|
||||
* @property string|null $firstname
|
||||
* @property string $email
|
||||
* @property string|null $company
|
||||
* @property string|null $date_of_birth
|
||||
* @property string|null $address
|
||||
* @property string|null $zipcode
|
||||
* @property string|null $city
|
||||
* @property string|null $country
|
||||
* @property string|null $phone1
|
||||
* @property string|null $phone2
|
||||
* @property int $public_membership
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $deleted_at
|
||||
* @property-read string $full_name
|
||||
* @property-read \App\Models\MemberGroup|null $group
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Membership> $memberships
|
||||
* @property-read int|null $memberships_count
|
||||
* @property-read \App\Models\User|null $user
|
||||
* @method static \Database\Factories\MemberFactory factory($count = null, $state = [])
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereAddress($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereCity($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereCompany($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereCountry($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereDateOfBirth($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereDeletedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereEmail($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereFirstname($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereGroupId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereKeycloakId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereLastname($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereNature($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member wherePhone1($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member wherePhone2($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member wherePublicMembership($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereStatus($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereUpdatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereUserId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|Member whereZipcode($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class Member extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
@@ -27,7 +81,10 @@ class Member extends Model
|
||||
'country',
|
||||
'phone1',
|
||||
'phone2',
|
||||
'public_membership'
|
||||
'public_membership',
|
||||
'package_id',
|
||||
'amount',
|
||||
'payment_status'
|
||||
];
|
||||
|
||||
public static function getAttributeLabel(string $attribute): string
|
||||
|
||||
Reference in New Issue
Block a user