12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
|
|
@ -1,61 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class Country
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property Collection|Company[] $companies
|
||||
* @property Collection|InvoiceBillingAddress[] $invoice_billing_addresses
|
||||
* @property Collection|SfGuardUserProfile[] $sf_guard_user_profiles
|
||||
* @property Collection|UserBillingAddress[] $user_billing_addresses
|
||||
* @package App\Models
|
||||
* @property-read int|null $companies_count
|
||||
* @property-read int|null $invoice_billing_addresses_count
|
||||
* @property-read int|null $sf_guard_user_profiles_count
|
||||
* @property-read int|null $user_billing_addresses_count
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Country newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Country newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Country query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Country whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Country whereName($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class Country extends Model
|
||||
{
|
||||
protected $table = 'country';
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = [
|
||||
'name'
|
||||
];
|
||||
|
||||
public function companies()
|
||||
{
|
||||
return $this->hasMany(Company::class);
|
||||
}
|
||||
|
||||
public function invoice_billing_addresses()
|
||||
{
|
||||
return $this->hasMany(InvoiceBillingAddress::class);
|
||||
}
|
||||
|
||||
public function sf_guard_user_profiles()
|
||||
{
|
||||
return $this->hasMany(SfGuardUserProfile::class);
|
||||
}
|
||||
|
||||
public function user_billing_addresses()
|
||||
{
|
||||
return $this->hasMany(UserBillingAddress::class);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue