Files
gormcol/app/model/dbmodel/ps_inpost_dispatch_point.go

53 lines
2.4 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 dbmodel
import "git.ma-al.com/goc_marek/gormcol"
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
}
var PsInpostDispatchPointCols = struct {
IDDispatchPoint gormcol.Field
Name gormcol.Field
OfficeHours gormcol.Field
Email gormcol.Field
Phone gormcol.Field
Street gormcol.Field
BuildingNumber gormcol.Field
PostCode gormcol.Field
City gormcol.Field
Deleted gormcol.Field
}{
IDDispatchPoint: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "id_dispatch_point"},
Name: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "name"},
OfficeHours: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "office_hours"},
Email: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "email"},
Phone: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "phone"},
Street: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "street"},
BuildingNumber: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "building_number"},
PostCode: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "post_code"},
City: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "city"},
Deleted: gormcol.Field{Table: TableNamePsInpostDispatchPoint, Column: "deleted"},
}