<?php

namespace app\validate\auth;

use app\enum\ClientEnum;
use think\Validate;

class LoginValidate extends Validate
{
    protected array $must = ['username', 'password'];
    protected array $rule = [
        'username'     => 'max:20',
        'password'     => 'min:5|max:64'
    ];
}