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

55 lines
1.2 KiB
PHP

<?php
namespace common\modelsgii;
use JetBrains\PhpStorm\ArrayShape;
/**
* This is the model class for table "yii_physical_reserve_total".
*
* @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 PhysicalReserveTotal extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName(): string
{
return 'yii_physical_reserve_total';
}
/**
* {@inheritdoc}
*/
public function rules(): array
{
return [
[['yard_id', 'physical_id'], 'required'],
[['yard_id', 'physical_id','num'], 'integer'],
[['day'], 'string']
];
}
/**
* {@inheritdoc}
*/
#[ArrayShape(['id' => "string", 'yard_id' => "string", 'physical_id' => "string", 'day' => "string", 'num' => "string"])]
public function attributeLabels(): array
{
return [
'id' => 'ID',
'yard_id' => '医院id',
'physical_id' => '体检套餐id',
'day' => '预约天',
'num' => '已预约总数',
];
}
}