CustomerFile.php 486 Bytes
Newer Older
1 2
<?php

3
namespace yiiunit\data\ar\mongodb\file;
4 5 6

class CustomerFile extends ActiveRecord
{
7 8 9 10
    public static function collectionName()
    {
        return 'customer_fs';
    }
11

12 13 14 15 16 17 18 19 20 21
    public function attributes()
    {
        return array_merge(
            parent::attributes(),
            [
                'tag',
                'status',
            ]
        );
    }
22

23
    public static function createQuery()
24
    {
25
        return new CustomerFileQuery(get_called_class());
26
    }
AlexGx committed
27
}