绑定检测管

This commit is contained in:
2023-08-07 11:48:57 +08:00
parent 26cd0dcbe8
commit faeb1a1502
2 changed files with 196 additions and 20 deletions
+6 -2
View File
@@ -6,9 +6,7 @@ namespace App\Model;
use Hyperf\Database\Model\Builder;
use Hyperf\Database\Model\Collection;
use Hyperf\Database\Model\Model;
use Hyperf\Database\Model\Relations\HasOne;
use Hyperf\Snowflake\Concern\Snowflake;
@@ -114,4 +112,10 @@ class DoctorInquiryTime extends Model
->get($fields);
}
public static function add(array $data): \Hyperf\Database\Model\Model|DoctorInquiryTime
{
return self::create($data);
}
}