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

35 lines
1.2 KiB

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* This is the model class for table "uc_employee_reward_punishment_t".
*
* @property $id bigint
* @property $employee_id bigint
* @property $type tinyint
* @property $date string
* @property $price decimal
* @property $remark varchar
* @property $status tinyint
* @property $created_at timestamp
* @property $updated_at timestamp
*/
class EmployeeRewardPunishmentT extends Model
{
use HasFactory;
protected $table = 'uc_employee_reward_punishment_t';
public $attrs = [
'employee_id' => ['name' => 'employee_id', 'title' => '员工ID', 'type' => 'bigint', 'is_must' => '1'],
'type' => ['name' => 'type', 'title' => '奖惩类型', 'type' => 'tinyint', 'is_must' => '1'],
'date' => ['name' => 'date', 'title' => '奖惩日期', 'type' => 'date', 'is_must' => '1'],
'price' => ['name' => 'price', 'title' => '奖惩金额', 'type' => 'decimal', 'is_must' => '1'],
'remark' => ['name' => 'remark', 'title' => '备注', 'type' => 'varchar', 'is_must' => '1'],
'status' => ['name' => 'status', 'title' => '状态', 'type' => 'tinyint', 'is_must' => '0'],
];
}