Files
dafuweng/addons/webman/model/ExternalApp.php
2026-03-02 13:44:38 +08:00

35 lines
958 B
PHP

<?php
namespace addons\webman\model;
use addons\webman\traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* 外部应用
* Class ExternalApp
* @property int id 主键
* @property string name 应用名
* @property string white_ip 百化IP
* @property string app_id app_id
* @property string app_secret app_secret
* @property int user_id 管理员id
* @property string user_name 管理员名称
* @property int status 状态
* @property string created_at 创建时间
* @property string updated_at 最后一次修改时间
* @property string deleted_at 删除时间
*
* @package addons\webman\model
*/
class ExternalApp extends Model
{
use SoftDeletes, HasDateTimeFormatter;
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->setTable(plugin()->webman->config('database.external_app_table'));
}
}