Files
xk-api-yii/common/modelsgii/SubAccountMenu.php

51 lines
989 B
PHP
Raw Normal View History

2024-09-19 11:32:39 +08:00
<?php
namespace common\modelsgii;
use Yii;
/**
* 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',
];
}
}