Files
b2b/app/model/prestadb/ps_dpdpoland_package.go

42 lines
2.2 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 TableNamePsDpdpolandPackage = "ps_dpdpoland_package"
// PsDpdpolandPackage mapped from table <ps_dpdpoland_package>
type PsDpdpolandPackage struct {
IDPackage int32 `gorm:"column:id_package;primaryKey;autoIncrement:true" json:"id_package"`
IDPackageWs int32 `gorm:"column:id_package_ws;not null;uniqueIndex:id_package_ws,priority:1" json:"id_package_ws"`
IDOrder int32 `gorm:"column:id_order;not null" json:"id_order"`
SessionID int32 `gorm:"column:sessionId;not null" json:"sessionId"`
SessionType string `gorm:"column:sessionType;not null" json:"sessionType"`
PayerNumber string `gorm:"column:payerNumber;not null" json:"payerNumber"`
IDAddressSender int32 `gorm:"column:id_address_sender;not null" json:"id_address_sender"`
IDAddressDelivery int32 `gorm:"column:id_address_delivery;not null" json:"id_address_delivery"`
CodAmount *float64 `gorm:"column:cod_amount" json:"cod_amount"`
DeclaredValueAmount *float64 `gorm:"column:declaredValue_amount" json:"declaredValue_amount"`
Ref1 *string `gorm:"column:ref1" json:"ref1"`
Ref2 *string `gorm:"column:ref2" json:"ref2"`
AdditionalInfo *string `gorm:"column:additional_info" json:"additional_info"`
LabelsPrinted bool `gorm:"column:labels_printed;not null" json:"labels_printed"`
IDSenderAddress int32 `gorm:"column:id_sender_address;not null" json:"id_sender_address"`
Cud bool `gorm:"column:cud;not null" json:"cud"`
Rod bool `gorm:"column:rod;not null" json:"rod"`
Dpde bool `gorm:"column:dpde;not null" json:"dpde"`
Dpdnd bool `gorm:"column:dpdnd;not null" json:"dpdnd"`
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
}
// TableName PsDpdpolandPackage's table name
func (*PsDpdpolandPackage) TableName() string {
return TableNamePsDpdpolandPackage
}