Files
xk-api-yii/common/modelsgii/FollowDoctor.php
2024-09-19 11:32:39 +08:00

51 lines
970 B
PHP

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