@@ -45,15 +45,15 @@ discard block |
||
45 | 45 | #[ORM\Column(name: 'id', type: 'integer', nullable: false)] |
46 | 46 | #[ORM\Id] |
47 | 47 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
48 | - #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
48 | + #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
49 | 49 | private $id; |
50 | 50 | |
51 | 51 | #[ORM\Column(name: 'city', type: 'string', length: 80, nullable: false)] |
52 | - #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
52 | + #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
53 | 53 | private $city; |
54 | 54 | |
55 | 55 | #[ORM\Column(name: 'cod_ibge', type: 'integer', nullable: true)] |
56 | - #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
56 | + #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
57 | 57 | private $cod_ibge; |
58 | 58 | |
59 | 59 | #[ORM\Column(name: 'seo', type: 'boolean', nullable: false)] |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | #[ORM\JoinColumn(name: 'state_id', referencedColumnName: 'id', nullable: false)] |
63 | 63 | #[ORM\ManyToOne(targetEntity: State::class, inversedBy: 'city')] |
64 | - #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
64 | + #[Groups(['city:read', 'logistic:read', 'order_details:read', 'order:write', 'people:read', 'address:read', 'delivery_region:read'])] |
|
65 | 65 | private $state; |
66 | 66 | |
67 | 67 | #[ORM\OneToMany(targetEntity: District::class, mappedBy: 'city')] |
@@ -55,14 +55,14 @@ discard block |
||
55 | 55 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
56 | 56 | #[Groups([ |
57 | 57 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
58 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
58 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
59 | 59 | ])] |
60 | 60 | private $id; |
61 | 61 | |
62 | 62 | #[ORM\Column(name: 'status', type: 'string', nullable: false)] |
63 | 63 | #[Groups([ |
64 | 64 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
65 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
65 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
66 | 66 | ])] |
67 | 67 | #[Assert\NotBlank] |
68 | 68 | #[Assert\Type(type: 'string')] |
@@ -71,42 +71,42 @@ discard block |
||
71 | 71 | #[ORM\Column(name: 'real_status', type: 'string', nullable: false)] |
72 | 72 | #[Groups([ |
73 | 73 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
74 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
74 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
75 | 75 | ])] |
76 | 76 | private $realStatus; |
77 | 77 | |
78 | 78 | #[ORM\Column(name: 'visibility', type: 'string', nullable: false)] |
79 | 79 | #[Groups([ |
80 | 80 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
81 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
81 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
82 | 82 | ])] |
83 | 83 | private $visibility = 1; |
84 | 84 | |
85 | 85 | #[ORM\Column(name: 'notify', type: 'boolean', nullable: false)] |
86 | 86 | #[Groups([ |
87 | 87 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
88 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
88 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
89 | 89 | ])] |
90 | 90 | private $notify = 1; |
91 | 91 | |
92 | 92 | #[ORM\Column(name: 'system', type: 'boolean', nullable: false)] |
93 | 93 | #[Groups([ |
94 | 94 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
95 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
95 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
96 | 96 | ])] |
97 | 97 | private $system = 0; |
98 | 98 | |
99 | 99 | #[ORM\Column(name: 'color', type: 'string', nullable: false)] |
100 | 100 | #[Groups([ |
101 | 101 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
102 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
102 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
103 | 103 | ])] |
104 | 104 | private $color = ''; |
105 | 105 | |
106 | 106 | #[ORM\Column(name: 'context', type: 'string', nullable: false)] |
107 | 107 | #[Groups([ |
108 | 108 | 'contract:read', 'task:read', 'display_queue:read', 'display:read', 'order_product_queue:read', 'order:read', 'order_details:read', 'order:write', |
109 | - 'invoice:read', 'invoice_details:read', 'connections:read','status:read','spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
109 | + 'invoice:read', 'invoice_details:read', 'connections:read', 'status:read', 'spool_item:read', 'spool:read', 'spool:write', 'status:write', 'order_detail_status:read', 'logistic:read', 'queue:read', 'queue_people_queue:read' |
|
110 | 110 | ])] |
111 | 111 | private $context; |
112 | 112 |
@@ -76,19 +76,19 @@ |
||
76 | 76 | #[GeneratedValue(strategy: 'IDENTITY')] |
77 | 77 | private int $id = 0; |
78 | 78 | |
79 | - #[Groups(['file:read', 'spool:read', 'order_details:read', 'order:write', 'category:read', 'product_category:read', 'order_product:read', 'product_file:read', 'product:read', 'spool_item:read', 'file_item:read', 'file:write', 'contract:read', 'model:read', 'people:read'])] |
|
79 | + #[Groups(['file:read', 'spool:read', 'order_details:read', 'order:write', 'category:read', 'product_category:read', 'order_product:read', 'product_file:read', 'product:read', 'spool_item:read', 'file_item:read', 'file:write', 'contract:read', 'model:read', 'people:read'])] |
|
80 | 80 | #[NotBlank] |
81 | 81 | #[ApiFilter(filterClass: SearchFilter::class, properties: ['fileType' => 'exact'])] |
82 | 82 | #[Column(type: 'string', length: 255, nullable: false)] |
83 | 83 | private string $fileType; |
84 | 84 | |
85 | - #[Groups(['file:read', 'spool:read', 'order_details:read', 'order:write', 'category:read', 'product_category:read', 'order_product:read', 'product_file:read', 'product:read', 'spool_item:read', 'file_item:read', 'file:write', 'contract:read', 'model:read', 'people:read'])] |
|
85 | + #[Groups(['file:read', 'spool:read', 'order_details:read', 'order:write', 'category:read', 'product_category:read', 'order_product:read', 'product_file:read', 'product:read', 'spool_item:read', 'file_item:read', 'file:write', 'contract:read', 'model:read', 'people:read'])] |
|
86 | 86 | #[NotBlank] |
87 | 87 | #[ApiFilter(filterClass: SearchFilter::class, properties: ['fileName' => 'exact'])] |
88 | 88 | #[Column(type: 'string', length: 255, nullable: false)] |
89 | 89 | private string $fileName; |
90 | 90 | |
91 | - #[Groups(['file:read', 'spool:read', 'order_details:read', 'order:write', 'category:read', 'product_category:read', 'order_product:read', 'product_file:read', 'product:read', 'spool_item:read', 'file_item:read', 'file:write', 'contract:read', 'model:read', 'people:read'])] |
|
91 | + #[Groups(['file:read', 'spool:read', 'order_details:read', 'order:write', 'category:read', 'product_category:read', 'order_product:read', 'product_file:read', 'product:read', 'spool_item:read', 'file_item:read', 'file:write', 'contract:read', 'model:read', 'people:read'])] |
|
92 | 92 | #[NotBlank] |
93 | 93 | #[ApiFilter(filterClass: SearchFilter::class, properties: ['context' => 'exact'])] |
94 | 94 | #[Column(type: 'string', length: 255, nullable: false)] |
@@ -37,21 +37,21 @@ |
||
37 | 37 | #[ORM\Column(name: 'id', type: 'integer', nullable: false)] |
38 | 38 | #[ORM\Id] |
39 | 39 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
40 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
40 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
41 | 41 | private $id; |
42 | 42 | |
43 | 43 | #[ORM\Column(name: 'street', type: 'string', length: 255, nullable: false)] |
44 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
44 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
45 | 45 | private $street; |
46 | 46 | |
47 | 47 | #[ORM\ManyToOne(targetEntity: District::class, inversedBy: 'street')] |
48 | 48 | #[ORM\JoinColumn(name: 'district_id', referencedColumnName: 'id', nullable: false)] |
49 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
49 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
50 | 50 | private $district; |
51 | 51 | |
52 | 52 | #[ORM\ManyToOne(targetEntity: Cep::class, inversedBy: 'street')] |
53 | 53 | #[ORM\JoinColumn(name: 'cep_id', referencedColumnName: 'id', nullable: false)] |
54 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
54 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
55 | 55 | private $cep; |
56 | 56 | |
57 | 57 | #[ORM\OneToMany(targetEntity: Address::class, mappedBy: 'street')] |
@@ -37,17 +37,17 @@ |
||
37 | 37 | #[Entity(repositoryClass: DistrictRepository::class)] |
38 | 38 | class District |
39 | 39 | { |
40 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
40 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
41 | 41 | #[Column(name: 'id', type: 'integer', nullable: false)] |
42 | 42 | #[Id] |
43 | 43 | #[GeneratedValue(strategy: 'IDENTITY')] |
44 | 44 | private int $id = 0; |
45 | 45 | |
46 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
46 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
47 | 47 | #[Column(name: 'district', type: 'string', length: 255, nullable: false)] |
48 | 48 | private string $district; |
49 | 49 | |
50 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
50 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
51 | 51 | #[JoinColumn(name: 'city_id', referencedColumnName: 'id', nullable: false)] |
52 | 52 | #[ManyToOne(targetEntity: City::class, inversedBy: 'district')] |
53 | 53 | private City $city; |
@@ -31,77 +31,77 @@ |
||
31 | 31 | #[Entity(repositoryClass: CountryRepository::class)] |
32 | 32 | class Country |
33 | 33 | { |
34 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
34 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
35 | 35 | #[Column(name: 'id', type: 'integer', nullable: false)] |
36 | 36 | #[Id] |
37 | 37 | #[GeneratedValue(strategy: 'IDENTITY')] |
38 | 38 | private int $id = 0; |
39 | 39 | |
40 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
40 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
41 | 41 | #[Column(name: 'countryCode', type: 'string', length: 3, nullable: false)] |
42 | 42 | private string $countrycode; |
43 | 43 | |
44 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
44 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
45 | 45 | #[Column(name: 'countryName', type: 'string', length: 45, nullable: false)] |
46 | 46 | private string $countryname; |
47 | 47 | |
48 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
48 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
49 | 49 | #[Column(name: 'currencyCode', type: 'string', length: 3, nullable: true)] |
50 | 50 | private ?string $currencycode = null; |
51 | 51 | |
52 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
52 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
53 | 53 | #[Column(name: 'population', type: 'integer', nullable: true)] |
54 | 54 | private ?int $population = null; |
55 | 55 | |
56 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
56 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
57 | 57 | #[Column(name: 'fipsCode', type: 'string', length: 2, nullable: true)] |
58 | 58 | private ?string $fipscode = null; |
59 | 59 | |
60 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
60 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
61 | 61 | #[Column(name: 'isoNumeric', type: 'string', length: 4, nullable: true)] |
62 | 62 | private ?string $isonumeric = null; |
63 | 63 | |
64 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
64 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
65 | 65 | #[Column(name: 'north', type: 'string', length: 30, nullable: true)] |
66 | 66 | private ?string $north = null; |
67 | 67 | |
68 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
68 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
69 | 69 | #[Column(name: 'south', type: 'string', length: 30, nullable: true)] |
70 | 70 | private ?string $south = null; |
71 | 71 | |
72 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
72 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
73 | 73 | #[Column(name: 'east', type: 'string', length: 30, nullable: true)] |
74 | 74 | private ?string $east = null; |
75 | 75 | |
76 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
76 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
77 | 77 | #[Column(name: 'west', type: 'string', length: 30, nullable: true)] |
78 | 78 | private ?string $west = null; |
79 | 79 | |
80 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
80 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
81 | 81 | #[Column(name: 'capital', type: 'string', length: 30, nullable: true)] |
82 | 82 | private ?string $capital = null; |
83 | 83 | |
84 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
84 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
85 | 85 | #[Column(name: 'continentName', type: 'string', length: 15, nullable: true)] |
86 | 86 | private ?string $continentname = null; |
87 | 87 | |
88 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
88 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
89 | 89 | #[Column(name: 'continent', type: 'string', length: 2, nullable: true)] |
90 | 90 | private ?string $continent = null; |
91 | 91 | |
92 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
92 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
93 | 93 | #[Column(name: 'areaInSqKm', type: 'string', length: 20, nullable: true)] |
94 | 94 | private ?string $areainsqkm = null; |
95 | 95 | |
96 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
96 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
97 | 97 | #[Column(name: 'isoAlpha3', type: 'string', length: 3, nullable: true)] |
98 | 98 | private ?string $isoalpha3 = null; |
99 | 99 | |
100 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
100 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
101 | 101 | #[Column(name: 'geonameId', type: 'integer', nullable: true)] |
102 | 102 | private ?int $geonameid = null; |
103 | 103 | |
104 | - #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
104 | + #[Groups(['city:read', 'logistic:read', 'state:read', 'people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
105 | 105 | #[OneToMany(targetEntity: LanguageCountry::class, mappedBy: 'country')] |
106 | 106 | private Collection $languageCountry; |
107 | 107 |
@@ -31,13 +31,13 @@ |
||
31 | 31 | #[Entity(repositoryClass: CepRepository::class)] |
32 | 32 | class Cep |
33 | 33 | { |
34 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
34 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
35 | 35 | #[Column(name: 'id', type: 'integer', nullable: false)] |
36 | 36 | #[Id] |
37 | 37 | #[GeneratedValue(strategy: 'IDENTITY')] |
38 | 38 | private int $id = 0; |
39 | 39 | |
40 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
40 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
41 | 41 | #[Column(name: 'cep', type: 'integer', nullable: false)] |
42 | 42 | private int $cep; |
43 | 43 |
@@ -37,19 +37,19 @@ discard block |
||
37 | 37 | #[ORM\Column(name: 'id', type: 'integer', nullable: false)] |
38 | 38 | #[ORM\Id] |
39 | 39 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
40 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
40 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
41 | 41 | private $id; |
42 | 42 | |
43 | 43 | #[ORM\Column(name: 'number', type: 'integer', nullable: true)] |
44 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
44 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
45 | 45 | private $number; |
46 | 46 | |
47 | 47 | #[ORM\Column(name: 'nickname', type: 'string', length: 50, nullable: false)] |
48 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
48 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
49 | 49 | private $nickname; |
50 | 50 | |
51 | 51 | #[ORM\Column(name: 'complement', type: 'string', length: 50, nullable: false)] |
52 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
52 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
53 | 53 | private $complement; |
54 | 54 | |
55 | 55 | #[ORM\JoinColumn(name: 'people_id', referencedColumnName: 'id', nullable: true)] |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | #[ORM\JoinColumn(name: 'street_id', referencedColumnName: 'id', nullable: false)] |
60 | 60 | #[ORM\ManyToOne(targetEntity: Street::class, inversedBy: 'address')] |
61 | - #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
61 | + #[Groups(['people:read', 'order_details:read', 'order:write', 'address:read'])] |
|
62 | 62 | private $street; |
63 | 63 | |
64 | 64 | #[ORM\Column(name: 'latitude', type: 'float', nullable: false)] |