24 lines
1.3 KiB
MySQL
24 lines
1.3 KiB
MySQL
|
CREATE TABLE vn.chronopostConfig (
|
||
|
id INT(11) auto_increment NOT NULL,
|
||
|
accountNumber INT(11) NOT NULL,
|
||
|
password INT(11) NOT NULL,
|
||
|
idEmit varchar(20) DEFAULT "CHRFR" NOT NULL COMMENT "Valor fijo de chronopost",
|
||
|
urlShipping varchar(100) DEFAULT "https://ws.chronopost.fr/shipping-cxf/ShippingServiceWS/" NOT NULL,
|
||
|
urlTracking varchar(100) DEFAULT "https://ws.chronopost.fr/tracking-cxf/TrackingServiceWS/" NOT NULL,
|
||
|
cxfShipping varchar(100) DEFAULT "http://cxf.shipping.soap.chronopost.fr/" NOT NULL,
|
||
|
cxfTracking varchar(100) DEFAULT "http://cxf.tracking.soap.chronopost.fr/" NOT NULL,
|
||
|
evtCode varchar(2) DEFAULT "DC" NOT NULL COMMENT "Valor fijo de chronopost",
|
||
|
objectType VARCHAR(3) DEFAULT "MAR" NOT NULL COMMENT "MAR: mercancia, DOC: documentación",
|
||
|
productCode VARCHAR(2) DEFAULT "1S" NOT NULL,
|
||
|
weightUnit VARCHAR(3) DEFAULT "KGM" NOT NULL,
|
||
|
stickerMode VARCHAR(6) DEFAULT "THE" NOT NULL COMMENT "THE: vertical, THEPSG: horizontal, PDF, ...",
|
||
|
defaultWeight INT(11) DEFAULT 10 NOT NULL,
|
||
|
defaultSevice INT(11) DEFAULT 0 NOT NULL,
|
||
|
numberOfParcel INT(11) DEFAULT 1 NOT NULL,
|
||
|
civility varchar(1) DEFAULT 'M' NOT NULL,
|
||
|
modeRetour VARCHAR(1) DEFAULT '2' NOT NULL,
|
||
|
CONSTRAINT chronopostConfig_PK PRIMARY KEY (id)
|
||
|
)
|
||
|
ENGINE=InnoDB
|
||
|
DEFAULT CHARSET=utf8mb3
|
||
|
COLLATE=utf8mb3_unicode_ci;
|