31 lines
604 B
PHP
31 lines
604 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Library extends Model
|
|
{
|
|
use HasFactory, SoftDeletes;
|
|
|
|
public $table = 'content_library';
|
|
|
|
const CREATED_AT = 'created_at';
|
|
const UPDATED_AT = 'updated_at';
|
|
|
|
protected $dates = ['deleted_at'];
|
|
protected $primaryKey = 'id';
|
|
|
|
public $fillable = [
|
|
'title',
|
|
'code',
|
|
'description',
|
|
'library_ids',
|
|
'library_values',
|
|
'session_id',
|
|
'status',
|
|
];
|
|
}
|