初始化
This commit is contained in:
30
addons/webman/model/BankList.php
Normal file
30
addons/webman/model/BankList.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace addons\webman\model;
|
||||
|
||||
use addons\webman\traits\HasDateTimeFormatter;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
/**
|
||||
* Class PlayerBank
|
||||
* @property int id 主键
|
||||
* @property string bank_name 银行名称
|
||||
* @property string bank_code 银行代码
|
||||
* @property int pay_type 支付渠道
|
||||
* @property int type 类型
|
||||
* @property string created_at 创建时间
|
||||
* @property string updated_at 修改时间
|
||||
* @property string deleted_at 删除时间
|
||||
* @package addons\webman\model
|
||||
*/
|
||||
class BankList extends Model
|
||||
{
|
||||
use SoftDeletes, HasDateTimeFormatter;
|
||||
public function __construct(array $attributes = [])
|
||||
{
|
||||
parent::__construct($attributes);
|
||||
$this->setTable(plugin()->webman->config('database.bank_list_table'));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user