ctms/pms-admin/models/FmStore.php
2025-04-10 23:19:13 +08:00

47 lines
723 B
PHP
Executable File

<?php
/**
* @Author: fm453
* @Date: 2018-11-22 02:22:45
# @Last modified by: fm453
# @Last modified time: 2021-09-15T15:28:35+08:00
* @Email: fm453@lukegzs.com
*/
namespace backend\models;
use Yii;
class FmStore extends \yii\db\ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('lvju');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%store}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}