mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-02-08 10:20:16 +08:00
first commit
This commit is contained in:
16
app/Command/GenClass/stubs/repository.stub
Normal file
16
app/Command/GenClass/stubs/repository.stub
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* This service file is part of item.
|
||||
*
|
||||
* @author ctexthuang
|
||||
* @contact ctexthuang@qq.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace %NAMESPACE%;
|
||||
|
||||
final class %CLASS% extends BaseRepository
|
||||
{
|
||||
public function __construct(protected readonly xxx $model) {}
|
||||
}
|
||||
Reference in New Issue
Block a user