绑定检测管
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user