// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsInpostDispatchOrder = "ps_inpost_dispatch_order" // PsInpostDispatchOrder mapped from table type PsInpostDispatchOrder struct { IDDispatchOrder int32 `gorm:"column:id_dispatch_order;primaryKey;autoIncrement:true" json:"id_dispatch_order"` IDDispatchPoint *int32 `gorm:"column:id_dispatch_point;index:id_dispatch_point,priority:1" json:"id_dispatch_point"` ShipxDispatchOrderID int32 `gorm:"column:shipx_dispatch_order_id;not null" json:"shipx_dispatch_order_id"` Number *int32 `gorm:"column:number" json:"number"` Status *string `gorm:"column:status" json:"status"` Price *float64 `gorm:"column:price" json:"price"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` } // TableName PsInpostDispatchOrder's table name func (*PsInpostDispatchOrder) TableName() string { return TableNamePsInpostDispatchOrder } var PsInpostDispatchOrderCols = struct { IDDispatchOrder gormcol.Field IDDispatchPoint gormcol.Field ShipxDispatchOrderID gormcol.Field Number gormcol.Field Status gormcol.Field Price gormcol.Field DateAdd gormcol.Field }{ IDDispatchOrder: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "id_dispatch_order"), IDDispatchPoint: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "id_dispatch_point"), ShipxDispatchOrderID: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "shipx_dispatch_order_id"), Number: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "number"), Status: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "status"), Price: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "price"), DateAdd: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "date_add"), }