add testdefsite rule

This commit is contained in:
mahdahar 2025-11-19 14:26:32 +07:00
parent 39c9b39edf
commit fc990ffa81

View File

@ -16,7 +16,9 @@ class TestDefSite extends BaseController {
$this->db = \Config\Database::connect(); $this->db = \Config\Database::connect();
$this->model = new TestDefSiteModel; $this->model = new TestDefSiteModel;
$this->rules = [ $this->rules = [
"TestSiteCode" => "required" "TestSiteCode" => "required",
"TestSiteName" => "required",
"Type" => "required",
]; ];
} }