33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Models\Business;
|
|
|
|
use App\Abstracts\Model;
|
|
|
|
class StoreReceivingAccount extends Model
|
|
{
|
|
protected $table = 'business_store_receiving_accounts';
|
|
|
|
protected $fillable = ['company_id', 'store_platform', 'store_name', 'wallet_number', 'store_entity_name', 'login_account', 'login_password', 'receiving_method', 'receiving_account_name', 'alipay_or_bank_account', 'opening_bank'];
|
|
|
|
protected $casts = [
|
|
'company_id' => 'integer',
|
|
];
|
|
|
|
public static function columnLabels(): array
|
|
{
|
|
return [
|
|
'store_platform' => '店铺平台',
|
|
'store_name' => '店铺名称',
|
|
'wallet_number' => '钱包号',
|
|
'store_entity_name' => '店铺主体名称',
|
|
'login_account' => '登录账号',
|
|
'login_password' => '登录密码',
|
|
'receiving_method' => '收款方式',
|
|
'receiving_account_name' => '收款账户名称',
|
|
'alipay_or_bank_account' => '支付宝或银行卡账号',
|
|
'opening_bank' => '开户行',
|
|
];
|
|
}
|
|
}
|