no message
This commit is contained in:
1 parent
912098c0b6
commit
e59aa4e049
11 files changed
+180
-27
No files matched your search
Executable
+35
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @property int $id 工单ID
|
||||
* @property string $title 工单标题
|
||||
* @property string $content 工单内容
|
||||
* @property int $userid 用户ID
|
||||
* @property int $datetime 创建时间
|
||||
* @property string $status 工单状态
|
||||
* @property string $type 工单类型
|
||||
*
|
||||
* @mixin Builder
|
||||
*/
|
||||
final class Huodong extends Model
|
||||
{
|
||||
protected $connection = 'default';
|
||||
protected $table = 'huodong';
|
||||
|
||||
// public function type(): string
|
||||
// {
|
||||
// return match ($this->type) {
|
||||
// 'howto' => '使用',
|
||||
// 'billing' => '财务',
|
||||
// 'account' => '账户',
|
||||
// default => '其他',
|
||||
// };
|
||||
// }
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user