59 lines
1.4 KiB
PHP
59 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace common\modelsgii\oldDb;
|
|
|
|
/**
|
|
* This is the model class for table "{{%base_config}}".
|
|
*
|
|
* @property $id ID
|
|
* @property $store_id 门店id
|
|
* @property $type 类型
|
|
* @property $desc 描述
|
|
* @property $content 内容
|
|
* @property $chang_at 变更时间
|
|
* @property $status 是否删除0否1是
|
|
* @property $end 区分端1用户端2服务端
|
|
* @property $created_at 创建时间
|
|
* @property $updated_at 更新时间
|
|
*/
|
|
class BaseConfig extends \common\core\BaseActiveRecord
|
|
{
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return '{{%base_config}}';
|
|
}
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
[[ 'desc', 'content'], 'string'],
|
|
[['end','store_id','change_at', 'status', 'created_at', 'updated_at','type'], 'integer'],
|
|
];
|
|
}
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'id' => 'ID',
|
|
'store_id' => '门店ID',
|
|
'type' => '类型',
|
|
'end' => '区分端1用户端2服务端',
|
|
'desc' => '描述',
|
|
'content' => '内容',
|
|
'chang_at' => '变更时间',
|
|
'status' => '是否删除0否1是',
|
|
'created_at' => '创建时间',
|
|
'updated_at' => '更新时间',
|
|
];
|
|
}
|
|
}
|