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,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
}