1+ package models
2+
3+ import "time"
4+
5+ type Pedimentos struct {
6+ PedimentoID int `json:"pedimentoid" gorm:"column:pedimentoid;primary_key"`
7+ RemesaID int `json:"remesaid" gorm:"column:remesaid;"`
8+ ClienteID int `json:"clienteid" gorm:"column:clienteid;not null"`
9+ Cliente string `json:"cliente" gorm:"column:cliente;size:64"`
10+ CruceID int `json:"cruceid" gorm:"column:cruceid"`
11+ Aduana int `json:"aduana" gorm:"column:aduana"`
12+ Patente int `json:"patente" gorm:"column:patente"`
13+ Pedimento string `json:"pedimento" gorm:"column:pedimento;size:64"`
14+ NumPedimento string `json:"num_pedimento" gorm:"column:num_pedimento;size:64"`
15+ Remesa int `json:"remesa" gorm:"column:remesa"`
16+ Tipo string `json:"tipo" gorm:"column:tipo;size:255"`
17+ Partidas int `json:"partidas" gorm:"column:partidas"`
18+ Placas string `json:"placas" gorm:"column:placas;size:64"`
19+ Factura string `json:"factura" gorm:"column:factura;size:64"`
20+ Clase string `json:"clase" gorm:"column:clase;size:64"`
21+ Clave string `json:"clave" gorm:"column:clave;size:64"`
22+ Status string `json:"status" gorm:"column:status;size:64"`
23+ Costos bool `json:"costos" gorm:"column:costos;type:tinyint(1);"`
24+ Checklist bool `json:"checklist" gorm:"column:checklist;type:tinyint(1);"`
25+ Cobros bool `json:"cobros" gorm:"column:cobros;type:tinyint(1);"`
26+ PedimentoCol string `json:"pedimentocol" gorm:"column:pedimentocol;size:64"`
27+ Ubicacion string `json:"ubicacion" gorm:"column:ubicacion;size:124"`
28+ Observaciones string `json:"observaciones" gorm:"column:observaciones;size:500"`
29+ Autorizado bool `json:"autorizado" gorm:"column:autorizado;type:tinyint(1);"`
30+ CodigoAutorizacion string `json:"codigo_autorizacion" gorm:"column:codigo_autorizacion;size:128"`
31+ Archivado bool `json:"archivado" gorm:"column:archivado;type:tinyint(1);"`
32+ SoiaRemesa string `json:"soiaremesa" gorm:"column:soiaremesa;size:45"`
33+ FechaApertura time.Time `json:"fecha_apertura" gorm:"column:fecha_apertura;type:date"`
34+ FechaPedimento time.Time `json:"fecha_pedimento" gorm:"column:fecha_pedimento;type:date"`
35+ FechaCierre time.Time `json:"fecha_cierre" gorm:"column:fecha_cierre;type:date"`
36+ FechaDocumentacion time.Time `json:"fecha_documentacion" gorm:"column:fecha_documentacion;type:timestamp;not null"`
37+ fecha_checklist time.Time `json:"fecha_checklist" gorm:"column:fecha_checklist;type:datetime"`
38+ fecha_autorizacion time.Time `json:"fecha_autorizacion" gorm:"column:fecha_autorizacion;type:datetime"`
39+ }
0 commit comments