示例#1
0
 /**
  * @inheritdoc
  */
 public function rules()
 {
     $rules = parent::rules();
     $rules[] = [['abbr'], 'string', 'max' => 8];
     $rules[] = [['kai_template'], 'string', 'max' => 10];
     return $rules;
 }