更新项目部分结构,新增加DB

This commit is contained in:
2024-12-19 19:20:27 +08:00
parent 0fe2624e6b
commit 992c94250d
539 changed files with 1667 additions and 1906 deletions

View File

@@ -0,0 +1,48 @@
<?php
namespace common\modelsgii\oldDb;
/**
* This is the model class for table "{{%sub_account_menu}}".
*
* @property int $id
* @property int|null $admin_id
* @property string|null $menuUrl
* @property int|null $created_at
* @property int|null $updated_at
*/
class SubAccountMenu extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return '{{%sub_account_menu}}';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['admin_id', 'created_at', 'updated_at'], 'integer'],
[['menuUrl'], 'string', 'max' => 50],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'admin_id' => 'Admin ID',
'menuUrl' => 'Menu Url',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}