55 lines
1.3 KiB
PHP
55 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace common\modelsgii\oldDb;
|
|
|
|
/**
|
|
* This is the model class for table "yii_store_doctor".
|
|
*
|
|
* @property int $id
|
|
* @property int $store_id 门店id
|
|
* @property int $su_id 关联服务端用户表su_id
|
|
* @property int $is_online 是否在该门店0否1是
|
|
* @property int $last_login_time 最近登录时间
|
|
* @property int $created_at
|
|
* @property int $updated_at
|
|
* @property int $is_delete 是否删除0否1是
|
|
*/
|
|
class StoreDoctor extends \common\core\BaseActiveRecord
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return 'yii_store_doctor';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
[['store_id', 'su_id'], 'required'],
|
|
[['store_id', 'su_id','is_online', 'last_login_time', 'created_at', 'updated_at', 'is_delete'], 'integer'],
|
|
];
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'id' => 'ID',
|
|
'store_id' => 'Store ID',
|
|
'su_id' => 'Su ID',
|
|
'is_online' => 'Is Online',
|
|
'last_login_time' => 'Last Login Time',
|
|
'created_at' => 'Created At',
|
|
'updated_at' => 'Updated At',
|
|
'is_delete' => 'Is Delete',
|
|
];
|
|
}
|
|
}
|