'require', 'property_head_id' => 'require', 'householder_name' => 'require', 'householder_mobile' => 'require', 'address' => 'require', 'user_id' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'property_head_id' => '物业负责人ID', 'householder_name' => '户主人名称', 'householder_mobile' => '户主手机号/电话', 'address' => '详细地址', 'user_id' => '注册用户ID', ]; /** * @notes 添加场景 * @return PropertyUserValidate * @author likeadmin * @date 2024/09/19 14:35 */ public function sceneAdd() { return $this->only(['property_head_id','householder_name','householder_mobile','address','user_id']); } /** * @notes 编辑场景 * @return PropertyUserValidate * @author likeadmin * @date 2024/09/19 14:35 */ public function sceneEdit() { return $this->only(['id','property_head_id','householder_name','householder_mobile','address','user_id']); } /** * @notes 删除场景 * @return PropertyUserValidate * @author likeadmin * @date 2024/09/19 14:35 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return PropertyUserValidate * @author likeadmin * @date 2024/09/19 14:35 */ public function sceneDetail() { return $this->only(['id']); } }