portal.mkgtu.ru/backend/models/IntegrationSetting.php

23 lines
371 B
PHP
Raw Normal View History

2024-03-28 09:51:45 +03:00
<?php
namespace backend\models;
class IntegrationSetting extends \yii\db\ActiveRecord
{
public static function tableName()
{
return '{{%integration_settings}}';
}
public function rules()
{
return [
['name', 'required'],
['name', 'string', 'max' => 255],
['value', 'string'],
];
}
}