-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUsers.php
More file actions
38 lines (35 loc) · 1010 Bytes
/
Copy pathUsers.php
File metadata and controls
38 lines (35 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
namespace userModel;
use base\BaseModel;
/**
* This is the model class for table "{{%users}}".
*
* @property string $id
* @property integer $username
* @property integer $sex
* @property string $openid
* @property string $last_login_longitude
* @property string $last_login_latitude
* @property integer $last_login_time
* @property integer $avatar_url
* @property integer $create_time
*/
class Users extends BaseModel {
public static function tableName(){
return 'bill_users';
}
public function attributeLabels()
{
return [
'id' => 'id',
'username' => '用户名',
'sex' => '',
'openid' => '微信用户id',
'last_login_longitude' => '最后一次登陆经度',
'last_login_latitude' => '最后一次登陆维度',
'last_login_time' => '最后一次登陆时间',
'create_time' => '创建时间',
'avatar_url' => '用户图像',
];
}
}