// 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" "time" ) const TableNamePsCart = "ps_cart" // PsCart mapped from table type PsCart struct { IDCart int32 `gorm:"column:id_cart;primaryKey;autoIncrement:true" json:"id_cart"` IDShopGroup int32 `gorm:"column:id_shop_group;not null;index:id_shop_group,priority:1;default:1" json:"id_shop_group"` IDShop int32 `gorm:"column:id_shop;not null;index:id_shop,priority:1;index:id_shop_2,priority:1;default:1" json:"id_shop"` IDCarrier int32 `gorm:"column:id_carrier;not null;index:id_carrier,priority:1" json:"id_carrier"` DeliveryOption string `gorm:"column:delivery_option;not null" json:"delivery_option"` IDLang int32 `gorm:"column:id_lang;not null;index:id_lang,priority:1" json:"id_lang"` IDAddressDelivery int32 `gorm:"column:id_address_delivery;not null;index:id_address_delivery,priority:1" json:"id_address_delivery"` IDAddressInvoice int32 `gorm:"column:id_address_invoice;not null;index:id_address_invoice,priority:1" json:"id_address_invoice"` IDCurrency int32 `gorm:"column:id_currency;not null;index:id_currency,priority:1" json:"id_currency"` IDCustomer int32 `gorm:"column:id_customer;not null;index:cart_customer,priority:1" json:"id_customer"` IDGuest int32 `gorm:"column:id_guest;not null;index:id_guest,priority:1" json:"id_guest"` SecureKey string `gorm:"column:secure_key;not null;default:-1" json:"secure_key"` Recyclable bool `gorm:"column:recyclable;not null;default:1" json:"recyclable"` Gift bool `gorm:"column:gift;not null" json:"gift"` GiftMessage *string `gorm:"column:gift_message" json:"gift_message"` MobileTheme bool `gorm:"column:mobile_theme;not null" json:"mobile_theme"` AllowSeperatedPackage bool `gorm:"column:allow_seperated_package;not null" json:"allow_seperated_package"` DateAdd time.Time `gorm:"column:date_add;not null;index:id_shop,priority:2" json:"date_add"` DateUpd time.Time `gorm:"column:date_upd;not null;index:id_shop_2,priority:2" json:"date_upd"` CheckoutSessionData *string `gorm:"column:checkout_session_data" json:"checkout_session_data"` CustomeShippingPriceNetto *float64 `gorm:"column:custome_shipping_price_netto" json:"custome_shipping_price_netto"` CustomeShippingPrice *float64 `gorm:"column:custome_shipping_price" json:"custome_shipping_price"` CustomeShippingTaxRate *float64 `gorm:"column:custome_shipping_tax_rate" json:"custome_shipping_tax_rate"` } // TableName PsCart's table name func (*PsCart) TableName() string { return TableNamePsCart } var PsCartCols = struct { IDCart gormcol.Field IDShopGroup gormcol.Field IDShop gormcol.Field IDCarrier gormcol.Field DeliveryOption gormcol.Field IDLang gormcol.Field IDAddressDelivery gormcol.Field IDAddressInvoice gormcol.Field IDCurrency gormcol.Field IDCustomer gormcol.Field IDGuest gormcol.Field SecureKey gormcol.Field Recyclable gormcol.Field Gift gormcol.Field GiftMessage gormcol.Field MobileTheme gormcol.Field AllowSeperatedPackage gormcol.Field DateAdd gormcol.Field DateUpd gormcol.Field CheckoutSessionData gormcol.Field CustomeShippingPriceNetto gormcol.Field CustomeShippingPrice gormcol.Field CustomeShippingTaxRate gormcol.Field }{ IDCart: gormcol.Field{Table: TableNamePsCart, Column: "id_cart"}, IDShopGroup: gormcol.Field{Table: TableNamePsCart, Column: "id_shop_group"}, IDShop: gormcol.Field{Table: TableNamePsCart, Column: "id_shop"}, IDCarrier: gormcol.Field{Table: TableNamePsCart, Column: "id_carrier"}, DeliveryOption: gormcol.Field{Table: TableNamePsCart, Column: "delivery_option"}, IDLang: gormcol.Field{Table: TableNamePsCart, Column: "id_lang"}, IDAddressDelivery: gormcol.Field{Table: TableNamePsCart, Column: "id_address_delivery"}, IDAddressInvoice: gormcol.Field{Table: TableNamePsCart, Column: "id_address_invoice"}, IDCurrency: gormcol.Field{Table: TableNamePsCart, Column: "id_currency"}, IDCustomer: gormcol.Field{Table: TableNamePsCart, Column: "id_customer"}, IDGuest: gormcol.Field{Table: TableNamePsCart, Column: "id_guest"}, SecureKey: gormcol.Field{Table: TableNamePsCart, Column: "secure_key"}, Recyclable: gormcol.Field{Table: TableNamePsCart, Column: "recyclable"}, Gift: gormcol.Field{Table: TableNamePsCart, Column: "gift"}, GiftMessage: gormcol.Field{Table: TableNamePsCart, Column: "gift_message"}, MobileTheme: gormcol.Field{Table: TableNamePsCart, Column: "mobile_theme"}, AllowSeperatedPackage: gormcol.Field{Table: TableNamePsCart, Column: "allow_seperated_package"}, DateAdd: gormcol.Field{Table: TableNamePsCart, Column: "date_add"}, DateUpd: gormcol.Field{Table: TableNamePsCart, Column: "date_upd"}, CheckoutSessionData: gormcol.Field{Table: TableNamePsCart, Column: "checkout_session_data"}, CustomeShippingPriceNetto: gormcol.Field{Table: TableNamePsCart, Column: "custome_shipping_price_netto"}, CustomeShippingPrice: gormcol.Field{Table: TableNamePsCart, Column: "custome_shipping_price"}, CustomeShippingTaxRate: gormcol.Field{Table: TableNamePsCart, Column: "custome_shipping_tax_rate"}, }