Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
o5t6x7pgljbm
/
public_html
/
admin_new2
/
app
/
Models
/
Filename :
ProductClaimed.php
back
Copy
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; class ProductClaimed extends Model { protected $table = 'product_claimed'; protected $primaryKey = 'product_claimed_id'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'store_product_id', 'user_id', 'status', "comments", 'created_at', 'updated_at' ]; public function approvalFiles(): HasMany { return $this->hasMany('App\Models\ProductClaimedApprovalFile', 'product_claimed_id'); } }