You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.1 KiB

<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%territorial_limitation}}".
*
* @property integer $id
* @property integer $store_id
* @property string $detail
* @property integer $addtime
* @property integer $is_enable
* @property integer $is_delete
*/
class TerritorialLimitation extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%territorial_limitation}}';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['store_id', 'detail'], 'required'],
[['store_id', 'addtime', 'is_enable', 'is_delete'], 'integer'],
[['detail'], 'string'],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'store_id' => 'Store ID',
'detail' => 'Detail',
'addtime' => 'Addtime',
'is_enable' => 'Is Enable',
'is_delete' => 'Is Delete',
];
}
}