分账更新购药订单分账
This commit is contained in:
20
common/models/newDb/RegisterInfoModel.php
Normal file
20
common/models/newDb/RegisterInfoModel.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace common\models\newDb;
|
||||
|
||||
use yii\behaviors\TimestampBehavior;
|
||||
use yii\db\ActiveRecord;
|
||||
|
||||
class RegisterInfoModel extends \common\modelsgii\newDb\RegisterInfoModelGii
|
||||
{
|
||||
public function behaviors()
|
||||
{
|
||||
return [
|
||||
[
|
||||
'class' => TimestampBehavior::class,
|
||||
'attributes' => [
|
||||
],
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
36
common/modelsgii/newDb/RegisterInfoModelGii.php
Normal file
36
common/modelsgii/newDb/RegisterInfoModelGii.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace common\modelsgii\newDb;
|
||||
|
||||
/**
|
||||
* This is the model class for table "yii_address".
|
||||
*
|
||||
*/
|
||||
class RegisterInfoModelGii extends \common\core\BaseNewActiveRecord
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function tableName()
|
||||
{
|
||||
return 'xk_register_info';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
return [
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user