'require', 'sn' => 'require', 'worker_id' => 'require', 'action' => 'require', 'change_amount' => 'require', 'review_status' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'sn' => 'sn', 'worker_id' => '用户id', 'change_amount' => '变动数量', 'review_status' => '审批状态', ]; /** * @notes 添加场景 * @return MasterWorkerCaseOutLogValidate * @author likeadmin * @date 2024/07/23 09:30 */ public function sceneAdd() { return $this->only(['worker_id','change_amount']); } /** * @notes 编辑场景 * @return MasterWorkerCaseOutLogValidate * @author likeadmin * @date 2024/07/23 09:30 */ public function sceneEdit() { return $this->only(['sn','review_status']); } /** * @notes 删除场景 * @return MasterWorkerCaseOutLogValidate * @author likeadmin * @date 2024/07/23 09:30 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return MasterWorkerCaseOutLogValidate * @author likeadmin * @date 2024/07/23 09:30 */ public function sceneDetail() { return $this->only(['id']); } }