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

54 lines
1.1 KiB
PHP

<?php
namespace common\modelsgii;
use Yii;
/**
* This is the model class for table "yii_doctor_apply".
*
* @property int $id
* @property int $service_user_id
* @property int $status 是否通过
* @property int $is_delete
* @property int $created_at
* @property int $updated_at
*/
class DoctorApply extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'yii_doctor_apply';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['service_user_id'], 'required'],
[['id', 'service_user_id', 'status', 'is_delete', 'created_at', 'updated_at'], 'integer'],
[['id'], 'unique'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'service_user_id' => 'Service User ID',
'status' => 'Status',
'is_delete' => 'Is Delete',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}