46 lines
791 B
PHP
Executable File
46 lines
791 B
PHP
Executable File
<?php
|
|
|
|
# @Author: 嗨噜客(三亚) <fm453>
|
|
# @Date: 2022-05-09T18:13:51+08:00
|
|
# @Email: fm453@lukegzs.com
|
|
# @Last modified by: fm453
|
|
# @Last modified time: 2022-05-09T18:13:51+08:00
|
|
# @Copyright: www.hiluker.cn
|
|
|
|
namespace addons\models;
|
|
|
|
use Yii;
|
|
use yii\db\ActiveRecord;
|
|
|
|
class AcCarOwner extends ActiveRecord
|
|
{
|
|
//指定数据库
|
|
public static function getDb()
|
|
{
|
|
return Yii::$app->get('ac');
|
|
}
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return '{{%ac_car_owner}}';
|
|
}
|
|
|
|
// /**
|
|
// * @inheritdoc
|
|
// */
|
|
// public function rules()
|
|
// {
|
|
// return [];
|
|
// }
|
|
|
|
// /**
|
|
// * @inheritdoc
|
|
// */
|
|
// public function attributeLabels()
|
|
// {
|
|
// return [];
|
|
// }
|
|
}
|