12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
54
dev/_old/Models/CategoryFooterCode.php
Normal file
54
dev/_old/Models/CategoryFooterCode.php
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class CategoryFooterCode
|
||||
*
|
||||
* @property int $footer_code_id
|
||||
* @property int $category_id
|
||||
* @property Category $category
|
||||
* @property FooterCode $footer_code
|
||||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|CategoryFooterCode newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|CategoryFooterCode newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|CategoryFooterCode query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|CategoryFooterCode whereCategoryId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|CategoryFooterCode whereFooterCodeId($value)
|
||||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class CategoryFooterCode extends Model
|
||||
{
|
||||
protected $table = 'category_footer_code';
|
||||
|
||||
public $incrementing = false;
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $casts = [
|
||||
'footer_code_id' => 'int',
|
||||
'category_id' => 'int',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'footer_code_id',
|
||||
'category_id',
|
||||
];
|
||||
|
||||
public function category()
|
||||
{
|
||||
return $this->belongsTo(Category::class);
|
||||
}
|
||||
|
||||
public function footer_code()
|
||||
{
|
||||
return $this->belongsTo(FooterCode::class);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue