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

54 lines
1.0 KiB
PHP

<?php
namespace common\modelsgii;
use Yii;
/**
* This is the model class for table "yii_doctor_patient_remark".
*
* @property int $id
* @property int $su_id
* @property int $up_id
* @property string|null $remark 备注
* @property int $created_at
* @property int $updated_at
*/
class DoctorPatientRemark extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'yii_doctor_patient_remark';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['su_id', 'up_id'], 'required'],
[['su_id', 'up_id', 'created_at', 'updated_at'], 'integer'],
[['remark'], 'string'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'su_id' => 'Su ID',
'up_id' => 'Up ID',
'remark' => '备注',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}