44 lines
1007 B
PHP
44 lines
1007 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $dept_id
|
|
* @property int $pid
|
|
* @property int $belong_id
|
|
* @property int $account_type
|
|
* @property string $dept_name
|
|
* @property int $rank
|
|
* @property int $status
|
|
* @property string $deleted_at
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
*/
|
|
class Dept extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected ?string $table = 'dept';
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected string $primaryKey = 'dept_id';
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected array $fillable = [];
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected array $casts = ['dept_id' => 'integer', 'pid' => 'integer', 'belong_id' => 'integer', 'account_type' => 'integer', 'status' => 'integer', 'rank' => 'integer', 'del_flag' => 'integer'];
|
|
|
|
}
|