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/EmployeeSocialItemsT.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_social_items_t".
*
* @property $id bigint
* @property $employee_id bigint
* @property $social_type 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 EmployeeSocialItemsT extends Model
{
use HasFactory;
protected $table = 'uc_employee_social_items_t';
public $attrs = [
'employee_id' => ['name' => 'employee_id', 'title' => 'employee_id', 'type' => 'bigint', 'is_must' => '1'],
'social_type' => ['name' => 'social_type', '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'],
];
}