add models generation and josn print
This commit is contained in:
26
app/model/prestadb/ps_inpost_dispatch_point.go
Normal file
26
app/model/prestadb/ps_inpost_dispatch_point.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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
|
||||
|
||||
const TableNamePsInpostDispatchPoint = "ps_inpost_dispatch_point"
|
||||
|
||||
// PsInpostDispatchPoint mapped from table <ps_inpost_dispatch_point>
|
||||
type PsInpostDispatchPoint struct {
|
||||
IDDispatchPoint int32 `gorm:"column:id_dispatch_point;primaryKey;autoIncrement:true" json:"id_dispatch_point"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
OfficeHours *string `gorm:"column:office_hours" json:"office_hours"`
|
||||
Email *string `gorm:"column:email" json:"email"`
|
||||
Phone *string `gorm:"column:phone" json:"phone"`
|
||||
Street string `gorm:"column:street;not null" json:"street"`
|
||||
BuildingNumber string `gorm:"column:building_number;not null" json:"building_number"`
|
||||
PostCode string `gorm:"column:post_code;not null" json:"post_code"`
|
||||
City string `gorm:"column:city;not null" json:"city"`
|
||||
Deleted bool `gorm:"column:deleted;not null" json:"deleted"`
|
||||
}
|
||||
|
||||
// TableName PsInpostDispatchPoint's table name
|
||||
func (*PsInpostDispatchPoint) TableName() string {
|
||||
return TableNamePsInpostDispatchPoint
|
||||
}
|
||||
Reference in New Issue
Block a user