feat: add smt module
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\smt\model;
|
||||
|
||||
class SmokeUserProfile extends BaseBizModel
|
||||
{
|
||||
protected $name = 'fa_smoke_user_profile';
|
||||
|
||||
protected $pk = 'id';
|
||||
|
||||
public static function findByUid(int $uid): ?self
|
||||
{
|
||||
return self::where('uid', $uid)->whereNull('deleted_at')->find();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user