'require', 'rfid' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'rfid' => 'rfid', ]; /** * @notes 添加场景 * @return AnimalRfidValidate * @author likeadmin * @date 2024/01/13 16:21 */ public function sceneAdd() { return $this->only(['rfid']); } /** * @notes 编辑场景 * @return AnimalRfidValidate * @author likeadmin * @date 2024/01/13 16:21 */ public function sceneEdit() { return $this->only(['id','rfid']); } /** * @notes 删除场景 * @return AnimalRfidValidate * @author likeadmin * @date 2024/01/13 16:21 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return AnimalRfidValidate * @author likeadmin * @date 2024/01/13 16:21 */ public function sceneDetail() { return $this->only(['id']); } }