add models generation and josn print

This commit is contained in:
2026-03-26 02:22:14 +01:00
parent 7c5a993623
commit af2b276599
319 changed files with 7394 additions and 27 deletions

View File

@@ -0,0 +1,31 @@
// 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 TableNamePsDpdpolandParcel = "ps_dpdpoland_parcel"
// PsDpdpolandParcel mapped from table <ps_dpdpoland_parcel>
type PsDpdpolandParcel struct {
IDParcel int32 `gorm:"column:id_parcel;primaryKey" json:"id_parcel"`
IDPackageWs int32 `gorm:"column:id_package_ws;not null" json:"id_package_ws"`
Waybill string `gorm:"column:waybill;not null" json:"waybill"`
Content string `gorm:"column:content;not null" json:"content"`
Weight float64 `gorm:"column:weight;not null" json:"weight"`
Height float64 `gorm:"column:height;not null" json:"height"`
Length float64 `gorm:"column:length;not null" json:"length"`
Width float64 `gorm:"column:width;not null" json:"width"`
Number int32 `gorm:"column:number;not null" json:"number"`
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 PsDpdpolandParcel's table name
func (*PsDpdpolandParcel) TableName() string {
return TableNamePsDpdpolandParcel
}