MeetingRoom.php 453 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class MeetingRoom extends Validate{
  5. protected $rule = [
  6. 'title|名称' => 'require',
  7. 'content|描述' => 'require',
  8. 'img|图片' => 'require',
  9. 'address|地址' => 'require',
  10. 'limit|容纳人数' => 'require',
  11. 'meeting_device_ids|会议服务/设备' => 'require',
  12. 'approver|审核人员' => 'require|gt:0',
  13. ];
  14. }