| Current Path : /var/www/html/dosm/backend/models/ |
| Current File : /var/www/html/dosm/backend/models/TotServices.php |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "tot_services".
*
* @property int $id
* @property string $design
* @property string $development
* @property string $management
* @property string $marketing
*/
class TotServices extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'tot_services';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['design','name', 'development', 'management', 'marketing'], 'required'],
[['design','name', 'development', 'management', 'marketing'], 'string', 'max' => 255],
[['name'],'safe']
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'design' => 'Design',
'development' => 'Development',
'management' => 'Management',
'marketing' => 'Marketing',
];
}
}