1
0
Fork 0
mirror of https://github.com/janickiy/yii2-nomer synced 2025-02-12 18:11:52 +00:00
yii2-nomer/models/Vk.php

60 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2020-02-05 03:34:26 +00:00
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "vk".
*
* @property integer $id
* @property string $www
* @property string $skype
* @property string $instagram
* @property string $twitter
* @property string $facebook
* @property string $phone1
* @property string $phone2
* @property string $phone3
* @property string $phone4
*/
class Vk extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'vk';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['www', 'skype', 'instagram', 'twitter', 'facebook', 'phone1', 'phone2', 'phone3', 'phone4'], 'string', 'max' => 255],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'www' => 'Www',
'skype' => 'Skype',
'instagram' => 'Instagram',
'twitter' => 'Twitter',
'facebook' => 'Facebook',
'phone1' => 'Phone1',
'phone2' => 'Phone2',
'phone3' => 'Phone3',
'phone4' => 'Phone4',
];
}
}