You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
<?php
|
|
|
|
/**
|
|
* +----------------------------------------------------------------------
|
|
* | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
* +----------------------------------------------------------------------
|
|
* | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
|
* +----------------------------------------------------------------------
|
|
* | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
* +----------------------------------------------------------------------
|
|
* | Author: CRMEB Team <admin@crmeb.com>
|
|
* +----------------------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* 班级管理
|
|
* @author crud自动生成代码
|
|
* @date 2023/10/13 11:46:22
|
|
*/
|
|
|
|
namespace app\adminapi\validate\crud;
|
|
|
|
|
|
use think\Validate;
|
|
|
|
/**
|
|
* Class CrudValidate
|
|
* @date 2023/10/13
|
|
* @package app\adminapi\validate\crud
|
|
*/
|
|
class SchoolGradeClassValidate extends Validate
|
|
{
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $rule = [
|
|
'class_name' => 'require',
|
|
'grade_id' => 'require'
|
|
];
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $message = [
|
|
'class_name.require' => '500055',
|
|
'grade_id.require' => '500056',
|
|
];
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $scene = [];
|
|
}
|
|
|