add models generation and josn print
This commit is contained in:
31
app/model/prestadb/ps_dpdpoland_parcel.go
Normal file
31
app/model/prestadb/ps_dpdpoland_parcel.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user