Repository navigation
Expand file tree
/
Copy pathOrder.php
More file actions
73 lines (52 loc) · 2.59 KB
/
Copy pathOrder.php
File metadata and controls
73 lines (52 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
namespace SOB\Doctrine\Entity;
/**
* This code is automatically generated. See SOB\Doctrine\scaffolding\generateModels.php. Do not update by hand.
*/
#[\Doctrine\ORM\Mapping\Entity]
#[\Doctrine\ORM\Mapping\Table(name: 'order')]
class Order
{
#[\Doctrine\ORM\Mapping\Column(type: 'integer', nullable: true)]
public ?int $customer_id = null;
#[\Doctrine\ORM\Mapping\Column(type: 'integer', nullable: true)]
public ?int $employee_id = null;
#[\Doctrine\ORM\Mapping\Column(type: 'text', nullable: true)]
public ?string $notes = null;
#[\Doctrine\ORM\Mapping\Column(type: 'datetime', options: ['default' => 'CURRENT_TIMESTAMP'])]
public string $order_date;
#[\Doctrine\ORM\Mapping\Id]
#[\Doctrine\ORM\Mapping\GeneratedValue(strategy: 'AUTO')]
#[\Doctrine\ORM\Mapping\Column(type: 'integer')]
public int $order_id;
#[\Doctrine\ORM\Mapping\Column(type: 'integer', options: ['default' => '0'], nullable: true)]
public ?int $order_status_id = 0;
#[\Doctrine\ORM\Mapping\Column(type: 'integer', nullable: true)]
public ?int $order_tax_status_id = null;
#[\Doctrine\ORM\Mapping\Column(type: 'datetime', nullable: true)]
public ?string $paid_date = null;
#[\Doctrine\ORM\Mapping\Column(type: 'string', length: 50, nullable: true)]
public ?string $payment_type = null;
#[\Doctrine\ORM\Mapping\Column(type: 'text', nullable: true)]
public ?string $ship_address = null;
#[\Doctrine\ORM\Mapping\Column(type: 'string', length: 50, nullable: true)]
public ?string $ship_city = null;
#[\Doctrine\ORM\Mapping\Column(type: 'string', length: 50, nullable: true)]
public ?string $ship_country_region = null;
#[\Doctrine\ORM\Mapping\Column(type: 'string', length: 50, nullable: true)]
public ?string $ship_name = null;
#[\Doctrine\ORM\Mapping\Column(type: 'string', length: 50, nullable: true)]
public ?string $ship_state_province = null;
#[\Doctrine\ORM\Mapping\Column(type: 'string', length: 50, nullable: true)]
public ?string $ship_zip_postal_code = null;
#[\Doctrine\ORM\Mapping\Column(type: 'datetime', nullable: true)]
public ?string $shipped_date = null;
#[\Doctrine\ORM\Mapping\Column(type: 'integer', nullable: true)]
public ?int $shipper_id = null;
#[\Doctrine\ORM\Mapping\Column(type: 'decimal', precision: 19, scale: 4, options: ['default' => '0.0000'], nullable: true)]
public ?float $shipping_fee = 0.0000;
#[\Doctrine\ORM\Mapping\Column(type: 'double', options: ['default' => '0'], nullable: true)]
public ?float $tax_rate = 0;
#[\Doctrine\ORM\Mapping\Column(type: 'decimal', precision: 19, scale: 4, options: ['default' => '0.0000'], nullable: true)]
public ?float $taxes = 0.0000;
}