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

51 lines
940 B
PHP

<?php
namespace common\modelsgii;
use Yii;
/**
* This is the model class for table "yii_diagnose_common".
*
* @property int $id
* @property int $su_id
* @property string $content
* @property int $created_at
* @property int $updated_at
*/
class DiagnoseCommon extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'yii_diagnose_common';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['su_id', 'created_at', 'updated_at'], 'integer'],
['content','string']
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'su_id' => 'Su ID',
'content' => '医嘱内容',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}