41 lines
1.0 KiB
PHP
41 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace app\admin\model\cms;
|
|
|
|
use addons\cms\library\FulltextSearch;
|
|
use addons\cms\library\IntCode;
|
|
use addons\cms\library\Service;
|
|
use app\common\model\User;
|
|
use think\Model;
|
|
use traits\model\SoftDelete;
|
|
|
|
class Leaguearchives extends Model
|
|
{
|
|
use SoftDelete;
|
|
|
|
// 表名
|
|
protected $name = 'cms_archives';
|
|
// 自动写入时间戳字段
|
|
protected $autoWriteTimestamp = 'int';
|
|
// 定义时间戳字段名
|
|
protected $createTime = 'createtime';
|
|
protected $updateTime = 'updatetime';
|
|
protected $deleteTime = 'deletetime';
|
|
|
|
// protected $append = [
|
|
// 'flag_text',
|
|
// 'status_text',
|
|
// 'publishtime_text',
|
|
// 'url',
|
|
// 'fullurl',
|
|
// 'style_bold',
|
|
// 'style_color',
|
|
// ];
|
|
protected static $config = [];
|
|
|
|
// public function getStatusList()
|
|
// {
|
|
// return ['normal' => __('Status Normal'), 'hidden' => __('Status Hidden'), 'rejected' => __('Status rejected'), 'pulloff' => __('Status pulloff')];
|
|
// }
|
|
}
|