49 lines
960 B
PHP
49 lines
960 B
PHP
<?php
|
|
|
|
namespace common\modelsgii\oldDb;
|
|
|
|
/**
|
|
* This is the model class for table "yii_follow_user".
|
|
*
|
|
* @property int $id
|
|
* @property int $su_id 医生id
|
|
* @property int $user_id 用户id
|
|
* @property int $created_at
|
|
* @property int $updated_at
|
|
*/
|
|
class FollowUser extends \common\core\BaseActiveRecord
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return 'yii_follow_user';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
[['su_id', 'user_id'], 'required'],
|
|
[['su_id', 'user_id', 'created_at', 'updated_at'], 'integer'],
|
|
];
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'id' => 'ID',
|
|
'su_id' => 'Su ID',
|
|
'user_id' => 'User ID',
|
|
'created_at' => 'Created At',
|
|
'updated_at' => 'Updated At',
|
|
];
|
|
}
|
|
}
|