17 lines
321 B
PHP
17 lines
321 B
PHP
<?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();
|
|
}
|
|
}
|