$timestamps
$timestamps
字典数据项
职责:字典的具体取值项,支持平铺字典(parent_id=0)和树形字典(parent_id 关联自身)。
$id : int
主键ID
$type_id : int
字典类型ID
$type_code : string
字典类型编码
$parent_id : int
父级ID,0 表示顶级
$label : string
显示值
$value : string
存储值
$sort : int
排序号
$css_class : string
样式类名
$i18n_key : string
国际化 key
$status : int
状态:1 启用,0 停用
$remark : string
备注说明
$create_time : string
创建时间
$update_time : string|null
更新时间
┌────────────────── 分区导航(按此顺序阅读)──────────────────┐ 分区 1 · 常量 本地枚举(启停状态 STATUS_* 已单源 HasStatusConstants) 分区 2 · 表名与属性 $table / $fillable / casts 分区 3 · 关联关系 type / parent / children └────────────────────────────────────────────────────────────┘