cms first commit
This commit is contained in:
42
catch/cms/model/FormData.php
Normal file
42
catch/cms/model/FormData.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | Catch-CMS Design On 2020
|
||||
// +----------------------------------------------------------------------
|
||||
// | CatchAdmin [Just Like ~ ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: JaguarJack [ njphper@gmail.com ]
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace catchAdmin\cms\model;
|
||||
|
||||
class FormData extends BaseModel
|
||||
{
|
||||
// 表名
|
||||
public $name = 'cms_form_data';
|
||||
// 数据库字段映射
|
||||
public $field = array(
|
||||
'id',
|
||||
// 表单ID
|
||||
'form_id',
|
||||
// json字段
|
||||
'data',
|
||||
// 用户ID
|
||||
'user_id',
|
||||
// ip 地址
|
||||
'ip',
|
||||
// agent
|
||||
'user_agent',
|
||||
// 创建人ID
|
||||
'creator_id',
|
||||
// 创建时间
|
||||
'created_at',
|
||||
// 更新时间
|
||||
'updated_at',
|
||||
// 软删除
|
||||
'deleted_at',
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user