初始化仓库

This commit is contained in:
2024-09-19 11:32:39 +08:00
commit 8f5315e936
921 changed files with 76455 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
<?php
namespace common\modelsgii;
use Yii;
/**
* This is the model class for table "{{%doctor_service}}".
*
* @property int $id
* @property int $su_id 关联服务用户id
* @property int $register_status 是否开启挂号服务0否1是
* @property float $register_price 挂号价格
* @property int $created_at
* @property int $updated_at
*/
class DoctorService extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return '{{%doctor_service}}';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['su_id'], 'required'],
[['su_id', 'created_at', 'updated_at','register_status'], 'integer'],
[['register_price'], 'number'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'su_id' => '关联服务用户id',
'register_status' => '是否开通挂号',
'register_price' => '挂号金额',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}