45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $column_id
|
|
* @property int $table_id
|
|
* @property string $column_name
|
|
* @property string $column_comment
|
|
* @property string $column_type
|
|
* @property string $php_type
|
|
* @property string $php_field
|
|
* @property int $is_insert
|
|
* @property int $is_edit
|
|
* @property int $is_list
|
|
* @property int $is_query
|
|
* @property string $query_type
|
|
* @property string $html_type
|
|
* @property int $rank
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
* @property string $deleted_at
|
|
*/
|
|
class GenTableColumn extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'gen_table_column';
|
|
|
|
protected string $primaryKey = 'column_id ';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['column_id' => 'integer', 'table_id' => 'integer', 'is_insert' => 'integer', 'is_edit' => 'integer', 'is_list' => 'integer', 'is_query' => 'integer', 'rank' => 'integer'];
|
|
}
|