1 2 3 4 5
<?php namespace app\wx\models; use Yii;
6
use yii\log\Logger;
7
use yii\base\Exception;
8
use common\models\EngineerProfile as EngineerProfileModel;
9 10 11 12 13
use common\models\Address as AddressModel; use domain\finance\models\EngineerWallet as EngineerWalletModel; /** * Class User
14
* @package app\wx\models
15
*/
16 17 18 19 20
class User { public function register() {
21
22
}
23 24
/** @inheritdoc */
25
public function beforeSave($insert)
26 27 28 29 30
{ } /** @inheritdoc */
31
public function afterSave($insert, $changedAttributes)
32 33
{
34
35 36
37