36 lines
1.2 KiB
Go
36 lines
1.2 KiB
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsInpostCartChoice = "ps_inpost_cart_choice"
|
|
|
|
// PsInpostCartChoice mapped from table <ps_inpost_cart_choice>
|
|
type PsInpostCartChoice struct {
|
|
IDCart int32 `gorm:"column:id_cart;primaryKey" json:"id_cart"`
|
|
Service string `gorm:"column:service;not null" json:"service"`
|
|
Email *string `gorm:"column:email" json:"email"`
|
|
Phone *string `gorm:"column:phone" json:"phone"`
|
|
Point *string `gorm:"column:point" json:"point"`
|
|
}
|
|
|
|
// TableName PsInpostCartChoice's table name
|
|
func (*PsInpostCartChoice) TableName() string {
|
|
return TableNamePsInpostCartChoice
|
|
}
|
|
|
|
var PsInpostCartChoiceCols = struct {
|
|
IDCart gormcol.Field
|
|
Service gormcol.Field
|
|
Email gormcol.Field
|
|
Phone gormcol.Field
|
|
Point gormcol.Field
|
|
}{
|
|
IDCart: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "id_cart"),
|
|
Service: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "service"),
|
|
Email: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "email"),
|
|
Phone: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "phone"),
|
|
Point: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "point"),
|
|
}
|