Files
b2b/app/model/prestadb/ps_inpost_dispatch_point.go

27 lines
1.2 KiB
Go

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