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/EmployeeWaveT.php

38 lines
1.5 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_wave_t".
*
* @property $id bigint
* @property $employee_id bigint
* @property $wave tinyint
* @property $base_price decimal
* @property $personal_rate decimal
* @property $unit_rate decimal
* @property $personal_price decimal
* @property $unit_price decimal
* @property $created_at timestamp
* @property $updated_at timestamp
*/
class EmployeeWaveT extends Model
{
use HasFactory;
protected $table = 'uc_employee_wave_t';
public $attrs = [
'employee_id' => ['name' => 'employee_id', 'title' => 'employee_id', 'type' => 'bigint', 'is_must' => '1'],
'wave' => ['name' => 'wave', 'title' => '社保/公积金/个税', 'type' => 'tinyint', 'is_must' => '1'],
'base_price' => ['name' => 'base_price', 'title' => '缴费基数', 'type' => 'decimal', 'is_must' => '0'],
'personal_rate' => ['name' => 'personal_rate', 'title' => '个人比例', 'type' => 'decimal', 'is_must' => '0'],
'unit_rate' => ['name' => 'unit_rate', 'title' => '单位比例', 'type' => 'decimal', 'is_must' => '0'],
'personal_price' => ['name' => 'personal_price', 'title' => '个人缴费', 'type' => 'decimal', 'is_must' => '0'],
'unit_price' => ['name' => 'unit_price', 'title' => '单位缴费', 'type' => 'decimal', 'is_must' => '0'],
];
}