You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
user_center/app/Models/EmployeeBankT.php

40 lines
1.6 KiB

4 years ago
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* This is the model class for table "uc_employee_bank_t".
*
* @property $id bigint
* @property $employee_id bigint
* @property $super_bank_name varchar
* @property $bank_name varchar
* @property $bank_code varchar
* @property $bank_num varchar
* @property $bank_man varchar
* @property $maximum decimal
* @property $priority tinyint
* @property $created_at timestamp
* @property $updated_at timestamp
*/
class EmployeeBankT extends Model
{
use HasFactory;
protected $table = 'uc_employee_bank_t';
public $attrs = [
'employee_id' => ['name' => 'employee_id', 'title' => 'employee_id', 'type' => 'bigint', 'is_must' => '1'],
'super_bank_name' => ['name' => 'super_bank_name', 'title' => '银行名', 'type' => 'varchar', 'is_must' => '1'],
'bank_name' => ['name' => 'bank_name', 'title' => '开户行', 'type' => 'varchar', 'is_must' => '1'],
'bank_code' => ['name' => 'bank_code', 'title' => '开户行号', 'type' => 'varchar', 'is_must' => '1'],
'bank_num' => ['name' => 'bank_num', 'title' => '银行卡号', 'type' => 'varchar', 'is_must' => '1'],
'bank_man' => ['name' => 'bank_man', 'title' => '开户人', 'type' => 'varchar', 'is_must' => '1'],
'maximum' => ['name' => 'maximum', 'title' => '最大值', 'type' => 'decimal', 'is_must' => '0'],
'priority' => ['name' => 'priority', 'title' => '排序', 'type' => 'tinyint', 'is_must' => '0'],
];
}