CaiWuXiTong/app/Models/Business/BankAccount.php

31 lines
974 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class BankAccount extends Model
{
protected $table = 'business_bank_accounts';
protected $fillable = ['company_id', 'account_name', 'account_type', 'bank_account_number', 'opening_bank', 'ukey_password_maker', 'login_password_maker', 'ukey_password_reviewer', 'login_password_reviewer'];
protected $casts = [
'company_id' => 'integer',
];
public static function columnLabels(): array
{
return [
'account_name' => '账户名称',
'account_type' => '账户类型',
'bank_account_number' => '银行账号',
'opening_bank' => '开户行',
'ukey_password_maker' => 'UKey密码(制单)',
'login_password_maker' => '登录密码(制单)',
'ukey_password_reviewer' => 'UKey密码(审核)',
'login_password_reviewer' => '登录密码(审核)',
];
}
}