如何更改laravel雄辩结果属性的优先级?
我雄辩的结果:
#attributes: array:21 [
"id" => "57644"
"name" => "test name"
"tell" => "09030000000"
"description" => "test discripton"
"deal_type" => "rent"
"city" => "tehran"
]
我想给这个
#attributes: array:21 [
"id" => "57644"
"deal_type" => "rent"
"city" => "tehran"
"name" => "test name"
"tell" => "09030000000"
"description" => "test discripton"
]