| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "{{%banks}}".
- *
- * @property int $id
- * @property string|null $name
- * @property string|null $mfo
- * @property string|null $edrpou
- * @property string|null $name_e
- * @property int|null $type
- * @property string|null $address
- * @property int|null $created_at
- * @property int|null $updated_at
- * @property int|null $deleted_at
- */
- class Banks extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%banks}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['type', 'created_at', 'updated_at', 'deleted_at'], 'integer'],
- [['name', 'mfo', 'edrpou', 'name_e', 'address'], 'string', 'max' => 191],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'name' => 'Name',
- 'mfo' => 'Mfo',
- 'edrpou' => 'Edrpou',
- 'name_e' => 'Name E',
- 'type' => 'Type',
- 'address' => 'Address',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'deleted_at' => 'Deleted At',
- ];
- }
- /**
- * {@inheritdoc}
- * @return BanksQuery the active query used by this AR class.
- */
- public static function find()
- {
- return new BanksQuery(get_called_class());
- }
- }
|