45 lines
2.7 KiB
Go
45 lines
2.7 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package prestadb
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNamePsInpostShipment = "ps_inpost_shipment"
|
|
|
|
// PsInpostShipment mapped from table <ps_inpost_shipment>
|
|
type PsInpostShipment struct {
|
|
IDShipment int32 `gorm:"column:id_shipment;primaryKey;autoIncrement:true" json:"id_shipment"`
|
|
OrganizationID int32 `gorm:"column:organization_id;not null" json:"organization_id"`
|
|
IDOrder int32 `gorm:"column:id_order;not null;index:id_order,priority:1" json:"id_order"`
|
|
Sandbox bool `gorm:"column:sandbox;not null" json:"sandbox"`
|
|
ShipxShipmentID int32 `gorm:"column:shipx_shipment_id;not null" json:"shipx_shipment_id"`
|
|
Reference *string `gorm:"column:reference" json:"reference"`
|
|
Email string `gorm:"column:email;not null" json:"email"`
|
|
Phone string `gorm:"column:phone;not null" json:"phone"`
|
|
Service string `gorm:"column:service;not null" json:"service"`
|
|
CommercialProductIdentifier *string `gorm:"column:commercial_product_identifier" json:"commercial_product_identifier"`
|
|
SendingMethod *string `gorm:"column:sending_method" json:"sending_method"`
|
|
SendingPoint *string `gorm:"column:sending_point" json:"sending_point"`
|
|
WeekendDelivery *bool `gorm:"column:weekend_delivery" json:"weekend_delivery"`
|
|
Template *string `gorm:"column:template" json:"template"`
|
|
Dimensions *string `gorm:"column:dimensions" json:"dimensions"`
|
|
IDDispatchOrder *int32 `gorm:"column:id_dispatch_order;index:id_dispatch_order,priority:1" json:"id_dispatch_order"`
|
|
TargetPoint *string `gorm:"column:target_point" json:"target_point"`
|
|
CodAmount *float64 `gorm:"column:cod_amount" json:"cod_amount"`
|
|
InsuranceAmount *float64 `gorm:"column:insurance_amount" json:"insurance_amount"`
|
|
TrackingNumber *string `gorm:"column:tracking_number" json:"tracking_number"`
|
|
Status *string `gorm:"column:status" json:"status"`
|
|
Price *float64 `gorm:"column:price" json:"price"`
|
|
LabelPrinted bool `gorm:"column:label_printed;not null" json:"label_printed"`
|
|
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
|
|
}
|
|
|
|
// TableName PsInpostShipment's table name
|
|
func (*PsInpostShipment) TableName() string {
|
|
return TableNamePsInpostShipment
|
|
}
|