Files
grzanieplus.pl/plugins/stPaczkomatyPlugin/config/schema.yml
2025-03-12 17:06:23 +01:00

118 lines
2.3 KiB
YAML

---
propel:
_attributes:
defaultIdMethod: native
package: plugins.stPaczkomatyPlugin.lib.model
st_paczkomaty_pack:
_attributes:
phpName: PaczkomatyPack
created_at:
type: timestamp
updated_at:
type: timestamp
id:
type: INTEGER
primaryKey: true
required: true
autoIncrement: true
customer_email:
type: VARCHAR
size: 255
customer_phone:
type: VARCHAR
size: 24
customer_name:
type: VARCHAR
size: 255
customer_company_name:
type: VARCHAR
size: 255
customer_street:
type: VARCHAR
size: 255
customer_building_number:
type: VARCHAR
size: 24
customer_city:
type: VARCHAR
size: 255
customer_post_code:
type: VARCHAR
size: 16
customer_country_code:
type: CHAR
size: 2
customer_paczkomat:
type: VARCHAR
size: 48
sending_method:
type: VARCHAR
size: 48
sender_paczkomat:
type: VARCHAR
size: 24
use_sender_paczkomat:
type: BOOLEAN
default: false
pack_type:
type: CHAR
size: 1
required: false
inpost_shipment_id:
type: INTEGER
insurance:
type: DECIMAL
size: 10
scale: 2
cash_on_delivery:
type: DECIMAL
size: 10
scale: 2
description:
type: VARCHAR
size: 255
parcels:
type: VARCHAR
size: 8192
phpType: array
service:
type: VARCHAR
size: 48
required: false
code:
type: VARCHAR
size: 255
has_cash_on_delivery:
type: BOOLEAN
required: false
status:
type: VARCHAR
size: 255
order_id:
type: INTEGER
foreignTable: st_order
foreignReference: id
onDelete: setnull
dispatch_order_id:
type: INTEGER
foreignTable: st_paczkomaty_dispatch_order
foreignReference: id
onDelete: setnull
st_paczkomaty_dispatch_order:
_attributes:
phpName: PaczkomatyDispatchOrder
id:
type: INTEGER
primaryKey: true
required: true
autoIncrement: true
dispatch_order_id:
type: BIGINT
dispatch_order_external_id:
type: BIGINT
created_at:
type: timestamp
status:
type: VARCHAR
size: 16