/
home
/
henzagold
/
server
/
app
/
Models
/
File Upload :
llllll
Current File: /home/henzagold/server/app/Models/Log.php
<?php namespace App\Models; use App\DB\Selector; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Log extends Model { use HasFactory,Selector; protected $fillable = [ 'customer_id', 'time_present', 'start_at', 'end_at', 'ip', 'title', 'data', 'title_fa', 'product_id' ]; protected $casts = [ 'data'=>'array' ]; public function customer() { return $this->belongsTo(Customer::class); } public function product() { return $this->belongsTo(Product::class); } }
Copyright ©2k19 -
Hexid
|
Tex7ure