12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
|
|
@ -1,90 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class UserBillingAddress
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int|null $salutation_id
|
||||
* @property string|null $title
|
||||
* @property string $name
|
||||
* @property string|null $address
|
||||
* @property string|null $address1
|
||||
* @property string|null $address2
|
||||
* @property string|null $postal_code
|
||||
* @property string|null $city
|
||||
* @property int|null $country_id
|
||||
* @property string|null $country_name
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
* @property Country|null $country
|
||||
* @property Salutation|null $salutation
|
||||
* @property SfGuardUser $sf_guard_user
|
||||
* @package App\Models
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereAddress($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereAddress1($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereAddress2($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCity($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCountryId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCountryName($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereName($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress wherePostalCode($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereSalutationId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereTitle($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereUpdatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereUserId($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class UserBillingAddress extends Model
|
||||
{
|
||||
protected $table = 'user_billing_address';
|
||||
|
||||
protected $casts = [
|
||||
'user_id' => 'int',
|
||||
'salutation_id' => 'int',
|
||||
'country_id' => 'int'
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'salutation_id',
|
||||
'title',
|
||||
'name',
|
||||
'address',
|
||||
'address1',
|
||||
'address2',
|
||||
'postal_code',
|
||||
'city',
|
||||
'country_id',
|
||||
'country_name'
|
||||
];
|
||||
|
||||
public function country()
|
||||
{
|
||||
return $this->belongsTo(Country::class);
|
||||
}
|
||||
|
||||
public function salutation()
|
||||
{
|
||||
return $this->belongsTo(Salutation::class);
|
||||
}
|
||||
|
||||
public function sf_guard_user()
|
||||
{
|
||||
return $this->belongsTo(SfGuardUser::class, 'user_id');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue