Issues (46)

src/Model/OrderOption.php (4 issues)

Severity
1
<?php
2
3
namespace Dynamic\Foxy\Orders\Model;
4
5
use SilverStripe\ORM\DataObject;
6
7
/**
8
 * Class OrderOption
9
 * @package Dynamic\Foxy\Model
10
 *
11
 * @property \SilverStripe\ORM\FieldType\DBVarchar Name
12
 * @property \SilverStripe\ORM\FieldType\DBVarchar Value
13
 * @property int OrderDetailID
14
 *
15
 * @method OrderDetail OrderDetail
16
 */
17
class OrderOption extends DataObject
18
{
19
    /**
20
     * @var array
21
     */
22
    private static $db = array(
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
23
        'Name' => 'Varchar(200)',
24
        'Value' => 'Varchar(200)',
25
    );
26
27
    /**
28
     * @var array
29
     */
30
    private static $has_one = array(
0 ignored issues
show
The private property $has_one is not used, and could be removed.
Loading history...
31
        'OrderDetail' => OrderDetail::class,
32
    );
33
34
    /**
35
     * @var array
36
     */
37
    private static $summary_fields = array(
0 ignored issues
show
The private property $summary_fields is not used, and could be removed.
Loading history...
38
        'Name',
39
        'Value',
40
    );
41
42
    /**
43
     * @var string
44
     */
45
    private static $table_name = 'FoxyOrderOption';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
46
}
47