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

52 lines
1.1 KiB
PHP

<?php
namespace common\modelsgii;
/**
* This is the model class for table "yii_hospital_yard_physical".
*
* @property int $id
* @property int $yard_id 医院id
* @property int $physical_id 科室id
* @property int $image 体检套餐id
* @property int $created_at
* @property int $updated_at
*/
class HospitalYardPhysical extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'yii_hospital_yard_physical';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['yard_id', 'physical_id'], 'required'],
[['yard_id', 'physical_id'], 'integer'],
[['created_at', 'updated_at'], 'integer']
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'yard_id' => '医院id',
'physical_id' => '体检套餐id',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}