mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-25 11:19:39 +03:00
26 lines
444 B
PHP
26 lines
444 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace BookStack\Entities\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @property int $page_id
|
||
|
|
*/
|
||
|
|
class EntityPageData extends Model
|
||
|
|
{
|
||
|
|
public $timestamps = false;
|
||
|
|
protected $primaryKey = 'page_id';
|
||
|
|
public $incrementing = false;
|
||
|
|
|
||
|
|
public static array $fields = [
|
||
|
|
'draft',
|
||
|
|
'template',
|
||
|
|
'revision_count',
|
||
|
|
'editor',
|
||
|
|
'html',
|
||
|
|
'text',
|
||
|
|
'markdown',
|
||
|
|
];
|
||
|
|
}
|