Blame view

backend/models/Label.php 227 Bytes
4ca21c3e   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
  
  namespace backend\models;
  
  class Label extends \yii\db\ActiveRecord
  {
  
      public static function tableName()
      {
          return 'orders_label';
      }
      
     public function getNl(){
         return $this->name;
     }
  }