first commit

This commit is contained in:
2026-01-25 18:18:09 +08:00
commit 509312e604
8136 changed files with 2349298 additions and 0 deletions

60
models/OauthAccount.php Normal file
View File

@ -0,0 +1,60 @@
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "oauth_account".
*
* @property int $id
* @property int|null $created_at
* @property int|null $updated_at
* @property string $admin_uid
* @property string $account_id
* @property string $account_name
* @property int|null $is_delete
*/
class OauthAccount extends \app\models\BaseModel
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'oauth_account';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['is_delete'], 'default', 'value' => 0],
[['account_name'], 'default', 'value' => ''],
[['created_at', 'updated_at', 'is_delete'], 'integer'],
[['admin_uid', 'account_id'], 'string', 'max' => 64],
[['account_name'], 'string', 'max' => 255],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
'admin_uid' => 'Admin Uid',
'account_id' => 'Account ID',
'account_name' => 'Account Name',
'is_delete' => 'Is Delete',
];
}
}