'require', 'lang_id' => 'require', 'name' => 'require', 'is_show' => 'require', 'sort' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'lang_id' => '所属语言', 'name' => '银行名称', 'is_show' => '是否显示', 'sort' => '排序', ]; /** * @notes 添加场景 * @return WithdrawBankValidate * @author BD * @date 2024/02/25 12:19 */ public function sceneAdd() { return $this->only(['lang_id','name','is_show','sort']); } /** * @notes 编辑场景 * @return WithdrawBankValidate * @author BD * @date 2024/02/25 12:19 */ public function sceneEdit() { return $this->only(['id','lang_id','name','is_show','sort']); } /** * @notes 删除场景 * @return WithdrawBankValidate * @author BD * @date 2024/02/25 12:19 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return WithdrawBankValidate * @author BD * @date 2024/02/25 12:19 */ public function sceneDetail() { return $this->only(['id']); } /** * @notes 所有银行场景 * @return WithdrawBankValidate * @author BD * @date 2024/02/25 12:19 */ public function sceneAllByLang() { return $this->only(['lang_id']); } }