123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "{{%appointment_visit}}".
- *
- * @property integer $id
- * @property integer $aid
- * @property string $content
- * @property integer $admin_id
- * @property string $operation
- * @property integer $c_time
- */
- class AppointmentVisit extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%appointment_visit}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['aid', 'content','admin_id'], 'required'],
- [['aid', 'admin_id', 'c_time'], 'integer'],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'aid' => '预约id',
- 'content' => '内容',
- 'admin_id' => '操作id',
- 'operation' => '操作姓名',
- 'c_time' => '创建时间',
- ];
- }
- }
|