|
|
@@ -32,16 +32,16 @@ class PropertyCommission extends BaseModel
|
|
|
public function propertyHead()
|
|
|
{
|
|
|
return $this->hasOne(PropertyHead::class, 'id', 'property_head_id')
|
|
|
- ->field('id,property_name,village_name,head_name');
|
|
|
+ ->field('*');
|
|
|
}
|
|
|
public function propertyUser()
|
|
|
{
|
|
|
return $this->hasOne(PropertyUser::class, 'id', 'property_user_id')
|
|
|
- ->field('id,householder_name,householder_mobile');
|
|
|
+ ->field('*');
|
|
|
}
|
|
|
public function propertyWork()
|
|
|
{
|
|
|
return $this->hasOne(ServiceWork::class, 'id', 'work_id')
|
|
|
- ->field('id,work_sn,real_name,mobile,address,user_confirm_status,service_fee,work_total,work_amount,worker_price,create_time');
|
|
|
+ ->field('*');
|
|
|
}
|
|
|
}
|