\App\Setting\ModelSettingGenerateColumns

Summary

Methods
Properties
Constants
No public methods found
$incrementing
$id
$table_id
$column_name
$column_comment
$column_type
$is_pk
$is_required
$is_insert
$is_edit
$is_list
$is_query
$query_type
$view_type
$dict_type
$sort
$created_by
$updated_by
$created_at
$updated_at
$remark
No constants found
No protected methods found
$table
$fillable
$casts
N/A
No private methods found
No private properties found
N/A

Properties

$incrementing

$incrementing : 

Type

$id

$id : integer

主键

Type

integer

$table_id

$table_id : integer

所属表ID

Type

integer

$column_name

$column_name : string

字段名称

Type

string

$column_comment

$column_comment : string

字段注释

Type

string

$column_type

$column_type : string

字段类型

Type

string

$is_pk

$is_pk : string

0 非主键 1 主键

Type

string

$is_required

$is_required : string

0 非必填 1 必填

Type

string

$is_insert

$is_insert : string

0 非插入字段 1 插入字段

Type

string

$is_edit

$is_edit : string

0 非编辑字段 1 编辑字段

Type

string

$is_list

$is_list : string

0 非列表显示字段 1 列表显示字段

Type

string

$is_query

$is_query : string

0 非查询字段 1 查询字段

Type

string

$query_type

$query_type : string

查询方式 eq 等于, neq 不等于, gt 大于, lt 小于, like 范围

Type

string

$view_type

$view_type : string

页面控件,text, textarea, password, select, checkbox, radio, date, upload, ma-upload(封装的上传控件)

Type

string

$dict_type

$dict_type : string

字典类型

Type

string

$sort

$sort : integer

排序

Type

integer

$created_by

$created_by : integer

创建者

Type

integer

$updated_by

$updated_by : integer

更新者

Type

integer

$created_at

$created_at : \Carbon\Carbon

创建时间

Type

\Carbon\Carbon

$updated_at

$updated_at : \Carbon\Carbon

更新时间

Type

\Carbon\Carbon

$remark

$remark : string

备注

Type

string

$table

$table : string

The table associated with the model.

Type

string

$fillable

$fillable : array

The attributes that are mass assignable.

Type

array

$casts

$casts : array

The attributes that should be cast to native types.

Type

array