// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsDpdpolandPriceRule = "ps_dpdpoland_price_rule" // PsDpdpolandPriceRule mapped from table type PsDpdpolandPriceRule struct { IDCsv int32 `gorm:"column:id_csv;primaryKey;autoIncrement:true" json:"id_csv"` IDShop int32 `gorm:"column:id_shop;not null" json:"id_shop"` DateAdd *time.Time `gorm:"column:date_add" json:"date_add"` DateUpd *time.Time `gorm:"column:date_upd" json:"date_upd"` IsoCountry string `gorm:"column:iso_country;not null" json:"iso_country"` PriceFrom float64 `gorm:"column:price_from;not null" json:"price_from"` PriceTo float64 `gorm:"column:price_to;not null" json:"price_to"` WeightFrom float64 `gorm:"column:weight_from;not null" json:"weight_from"` WeightTo float64 `gorm:"column:weight_to;not null" json:"weight_to"` ParcelPrice float32 `gorm:"column:parcel_price;not null" json:"parcel_price"` CodPrice string `gorm:"column:cod_price;not null" json:"cod_price"` IDCarrier string `gorm:"column:id_carrier;not null" json:"id_carrier"` } // TableName PsDpdpolandPriceRule's table name func (*PsDpdpolandPriceRule) TableName() string { return TableNamePsDpdpolandPriceRule } var PsDpdpolandPriceRuleCols = struct { IDCsv gormcol.Field IDShop gormcol.Field DateAdd gormcol.Field DateUpd gormcol.Field IsoCountry gormcol.Field PriceFrom gormcol.Field PriceTo gormcol.Field WeightFrom gormcol.Field WeightTo gormcol.Field ParcelPrice gormcol.Field CodPrice gormcol.Field IDCarrier gormcol.Field }{ IDCsv: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "id_csv"), IDShop: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "id_shop"), DateAdd: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "date_add"), DateUpd: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "date_upd"), IsoCountry: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "iso_country"), PriceFrom: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "price_from"), PriceTo: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "price_to"), WeightFrom: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "weight_from"), WeightTo: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "weight_to"), ParcelPrice: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "parcel_price"), CodPrice: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "cod_price"), IDCarrier: gormcol.Field{}.Set((&PsDpdpolandPriceRule{}).TableName(), "id_carrier"), }