X7ROOT File Manager
Current Path:
/home/mysptejz/public_html/test-stocks/app/Models
home
/
mysptejz
/
public_html
/
test-stocks
/
app
/
Models
/
ðŸ“
..
📄
Branch.php
(177 B)
📄
BranchStock.php
(392 B)
📄
Company.php
(178 B)
📄
Customer.php
(179 B)
📄
DayEnd.php
(485 B)
📄
ExchangeRate.php
(183 B)
📄
FiscalInvoice.php
(290 B)
📄
FiscalQuote.php
(293 B)
📄
FiscalQuoteItem.php
(186 B)
📄
FiscalSale.php
(282 B)
📄
Invoice.php
(275 B)
📄
Purchase.php
(179 B)
📄
Quotation.php
(287 B)
📄
QuotedStock.php
(393 B)
📄
Sale.php
(481 B)
📄
Stock.php
(503 B)
📄
StockAllocation.php
(391 B)
📄
StockReturn.php
(182 B)
📄
TempSale.php
(280 B)
📄
TmpFiscal.php
(180 B)
📄
User.php
(1.04 KB)
📄
VerifyUser.php
(683 B)
📄
error_log
(125.4 KB)
Editing: User.php
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use HasFactory, Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', 'password', ]; /** * The attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; public function theCompany(){ return $this->belongsTo('App\Models\Company', 'company'); } public function branchDetails(){ return $this->belongsTo('App\Models\Branch', 'branch'); } }
Upload File
Create Folder