Completed
Push — master ( 6a7799...1d416b )
by Gilmar
03:10
created

Item::getSchema()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of gpupo component
5
 * Created by Gilmar Pupo <[email protected]>
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 * For more information, see <http://www.g1mr.com/>.
9
 */
10
namespace Gpupo\NetshoesSdk\Entity\Templates;
11
12
use Gpupo\CommonSdk\Entity\EntityAbstract;
13
use Gpupo\CommonSdk\Entity\EntityInterface;
14
15
/**
16
 */
17
class Item extends EntityAbstract implements EntityInterface
18
{
19
    protected $primaryKey = 'code';
20
21
    public function getSchema()
22
    {
23
        return [
24
            'code'          => 'string',
25
            'name'          => 'string',
26
            'externalCode'  => 'string',
27
        ];
28
    }
29
}
30