'require', 'name' => 'require', 'name_loc' => 'require', 'symbol' => 'require', 'precision' => 'require', 'is_show' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'name' => '语言名称', 'name_loc' => '语言名称', 'symbol' => '语言标识', 'precision' => '显示精度', 'is_show' => '是否显示', ]; /** * @notes 添加场景 * @return LanguageValidate * @author likeadmin * @date 2023/11/30 13:59 */ public function sceneAdd() { return $this->only(['name','name_loc','symbol','precision','is_show']); } /** * @notes 编辑场景 * @return LanguageValidate * @author likeadmin * @date 2023/11/30 13:59 */ public function sceneEdit() { return $this->only(['id','name','name_loc','symbol','precision','is_show']); } /** * @notes 删除场景 * @return LanguageValidate * @author likeadmin * @date 2023/11/30 13:59 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return LanguageValidate * @author likeadmin * @date 2023/11/30 13:59 */ public function sceneDetail() { return $this->only(['id']); } /** * @notes 更改状态场景 * @return ArticleValidate * @author heshihu * @date 2022/2/22 10:18 */ public function sceneStatus() { return $this->only(['id', 'is_show']); } }