Patentes - Agentes Aduanales
This commit is contained in:
31
patentes.txt
Normal file
31
patentes.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
CREATE TABLE agentes_aduanales (
|
||||
id_agente INT IDENTITY(1,1) PRIMARY KEY,
|
||||
aduana VARCHAR(3),
|
||||
patente VARCHAR(4),
|
||||
agente_aduanal NVARCHAR(100),
|
||||
rfc VARCHAR(13),
|
||||
curp VARCHAR(18),
|
||||
razon_social NVARCHAR(100),
|
||||
id_usuario INT,
|
||||
activo BIT DEFAULT 0,
|
||||
creado_en DATETIME DEFAULT GETDATE(),
|
||||
mf_nombre VARCHAR(50),
|
||||
mf_paterno VARCHAR(50),
|
||||
mf_materno VARCHAR(50),
|
||||
vp_inicio INT DEFAULT 0,
|
||||
vp_final INT DEFAULT 0,
|
||||
vp_siguiente INT DEFAULT 0,
|
||||
vpe_inicio INT DEFAULT 0,
|
||||
vpe_final INT DEFAULT 0,
|
||||
vpe_siguiente INT DEFAULT 0,
|
||||
vat_pb_inicio INT DEFAULT 0,
|
||||
vat_pb_final INT DEFAULT 0,
|
||||
vat_pb_siguiente INT DEFAULT 0,
|
||||
vcc_inicio INT DEFAULT 0,
|
||||
vcc_final INT DEFAULT 0,
|
||||
vcc_siguiente INT DEFAULT 0,
|
||||
vae_inicio INT DEFAULT 0,
|
||||
vae_final INT DEFAULT 0,
|
||||
vae_siguiente INT DEFAULT 0
|
||||
FOREIGN KEY (id_usuario) REFERENCES usuarios_sistema(id_usuario)
|
||||
)
|
||||
Reference in New Issue
Block a user