'require', 'in_out' => 'require', 'status' => 'require', 'property_head_id' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'in_out' => '进出类型:1=进,2=出', 'status' => '状态:0=申请中,1=已入账,2=已取消(取消时金额恢复)', 'property_head_id' => '物业负责人id', ]; /** * @notes 添加场景 * @return PropertySurplusLogValidate * @author likeadmin * @date 2024/09/20 16:31 */ public function sceneAdd() { return $this->only(['in_out','status','property_head_id']); } /** * @notes 编辑场景 * @return PropertySurplusLogValidate * @author likeadmin * @date 2024/09/20 16:31 */ public function sceneEdit() { return $this->only(['id','in_out','status','property_head_id']); } /** * @notes 删除场景 * @return PropertySurplusLogValidate * @author likeadmin * @date 2024/09/20 16:31 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return PropertySurplusLogValidate * @author likeadmin * @date 2024/09/20 16:31 */ public function sceneDetail() { return $this->only(['id']); } }