12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
64
dev/_old/Models/UserPaymentOptionCompany.php
Normal file
64
dev/_old/Models/UserPaymentOptionCompany.php
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class UserPaymentOptionCompany
|
||||
*
|
||||
* @property int $payment_option_id
|
||||
* @property int $company_id
|
||||
* @property string|null $ip_address
|
||||
* @property int|null $is_active
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
* @property Company $company
|
||||
* @property UserPaymentOption $user_payment_option
|
||||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany whereCompanyId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany whereIpAddress($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany whereIsActive($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany wherePaymentOptionId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionCompany whereUpdatedAt($value)
|
||||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class UserPaymentOptionCompany extends Model
|
||||
{
|
||||
protected $table = 'user_payment_option_company';
|
||||
|
||||
public $incrementing = false;
|
||||
|
||||
protected $casts = [
|
||||
'payment_option_id' => 'int',
|
||||
'company_id' => 'int',
|
||||
'is_active' => 'int',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'payment_option_id',
|
||||
'company_id',
|
||||
'ip_address',
|
||||
'is_active',
|
||||
];
|
||||
|
||||
public function company()
|
||||
{
|
||||
return $this->belongsTo(Company::class);
|
||||
}
|
||||
|
||||
public function user_payment_option()
|
||||
{
|
||||
return $this->belongsTo(UserPaymentOption::class, 'payment_option_id');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue