add models generation and josn print
This commit is contained in:
25
app/model/prestadb/ps_dpdpoland_carrier.go
Normal file
25
app/model/prestadb/ps_dpdpoland_carrier.go
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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 TableNamePsDpdpolandCarrier = "ps_dpdpoland_carrier"
|
||||
|
||||
// PsDpdpolandCarrier mapped from table <ps_dpdpoland_carrier>
|
||||
type PsDpdpolandCarrier struct {
|
||||
IDDpdpolandCarrier int32 `gorm:"column:id_dpdpoland_carrier;primaryKey;autoIncrement:true" json:"id_dpdpoland_carrier"`
|
||||
IDCarrier int32 `gorm:"column:id_carrier;not null" json:"id_carrier"`
|
||||
IDReference int32 `gorm:"column:id_reference;not null" json:"id_reference"`
|
||||
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 PsDpdpolandCarrier's table name
|
||||
func (*PsDpdpolandCarrier) TableName() string {
|
||||
return TableNamePsDpdpolandCarrier
|
||||
}
|
||||
Reference in New Issue
Block a user