示例#1
0
 public function getTableTypeIdAttribute($value)
 {
     return TableType::where('id', '=', $value)->first()->type;
 }