| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace addons\Agent\common\models;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_agent_setting".
- *
- * @property int $id
- * @property int $mall_id
- * @property string $key
- * @property string $value
- * @property int $created_at 创建时间
- * @property int $updated_at 修改时间
- * @property int $is_delete 是否删除 0--未删除 1--已删除
- * @property int $deleted_at 删除时间
- */
- class AgentSetting extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_addons_agent_setting';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'key', 'value'], 'required'],
- [['mall_id', 'created_at', 'updated_at', 'is_delete', 'deleted_at'], 'integer'],
- [['value'], 'string'],
- [['key'], 'string', 'max' => 255],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => 'Mall ID',
- 'key' => 'Key',
- 'value' => 'Value',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'is_delete' => 'Is Delete',
- 'deleted_at' => 'Deleted At',
- ];
- }
- }
|