// 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 TableNamePsCarrier = "ps_carrier" // PsCarrier mapped from table type PsCarrier struct { IDCarrier int32 `gorm:"column:id_carrier;primaryKey;autoIncrement:true" json:"id_carrier"` IDReference int32 `gorm:"column:id_reference;not null;index:reference,priority:1" json:"id_reference"` IDTaxRulesGroup *int32 `gorm:"column:id_tax_rules_group;index:id_tax_rules_group,priority:1" json:"id_tax_rules_group"` Name string `gorm:"column:name;not null" json:"name"` URL *string `gorm:"column:url" json:"url"` Active bool `gorm:"column:active;not null;index:deleted,priority:2;index:reference,priority:3" json:"active"` Deleted bool `gorm:"column:deleted;not null;index:deleted,priority:1;index:reference,priority:2" json:"deleted"` ShippingHandling bool `gorm:"column:shipping_handling;not null;default:1" json:"shipping_handling"` RangeBehavior bool `gorm:"column:range_behavior;not null" json:"range_behavior"` IsModule bool `gorm:"column:is_module;not null" json:"is_module"` IsFree bool `gorm:"column:is_free;not null" json:"is_free"` ShippingExternal bool `gorm:"column:shipping_external;not null" json:"shipping_external"` NeedRange bool `gorm:"column:need_range;not null" json:"need_range"` ExternalModuleName *string `gorm:"column:external_module_name" json:"external_module_name"` ShippingMethod int32 `gorm:"column:shipping_method;not null" json:"shipping_method"` Position int32 `gorm:"column:position;not null" json:"position"` MaxWidth *int32 `gorm:"column:max_width" json:"max_width"` MaxHeight *int32 `gorm:"column:max_height" json:"max_height"` MaxDepth *int32 `gorm:"column:max_depth" json:"max_depth"` MaxWeight *float64 `gorm:"column:max_weight;default:0.000000" json:"max_weight"` Grade *int32 `gorm:"column:grade" json:"grade"` } // TableName PsCarrier's table name func (*PsCarrier) TableName() string { return TableNamePsCarrier } var PsCarrierCols = struct { IDCarrier gormcol.Field IDReference gormcol.Field IDTaxRulesGroup gormcol.Field Name gormcol.Field URL gormcol.Field Active gormcol.Field Deleted gormcol.Field ShippingHandling gormcol.Field RangeBehavior gormcol.Field IsModule gormcol.Field IsFree gormcol.Field ShippingExternal gormcol.Field NeedRange gormcol.Field ExternalModuleName gormcol.Field ShippingMethod gormcol.Field Position gormcol.Field MaxWidth gormcol.Field MaxHeight gormcol.Field MaxDepth gormcol.Field MaxWeight gormcol.Field Grade gormcol.Field }{ IDCarrier: gormcol.Field{Table: TableNamePsCarrier, Column: "id_carrier"}, IDReference: gormcol.Field{Table: TableNamePsCarrier, Column: "id_reference"}, IDTaxRulesGroup: gormcol.Field{Table: TableNamePsCarrier, Column: "id_tax_rules_group"}, Name: gormcol.Field{Table: TableNamePsCarrier, Column: "name"}, URL: gormcol.Field{Table: TableNamePsCarrier, Column: "url"}, Active: gormcol.Field{Table: TableNamePsCarrier, Column: "active"}, Deleted: gormcol.Field{Table: TableNamePsCarrier, Column: "deleted"}, ShippingHandling: gormcol.Field{Table: TableNamePsCarrier, Column: "shipping_handling"}, RangeBehavior: gormcol.Field{Table: TableNamePsCarrier, Column: "range_behavior"}, IsModule: gormcol.Field{Table: TableNamePsCarrier, Column: "is_module"}, IsFree: gormcol.Field{Table: TableNamePsCarrier, Column: "is_free"}, ShippingExternal: gormcol.Field{Table: TableNamePsCarrier, Column: "shipping_external"}, NeedRange: gormcol.Field{Table: TableNamePsCarrier, Column: "need_range"}, ExternalModuleName: gormcol.Field{Table: TableNamePsCarrier, Column: "external_module_name"}, ShippingMethod: gormcol.Field{Table: TableNamePsCarrier, Column: "shipping_method"}, Position: gormcol.Field{Table: TableNamePsCarrier, Column: "position"}, MaxWidth: gormcol.Field{Table: TableNamePsCarrier, Column: "max_width"}, MaxHeight: gormcol.Field{Table: TableNamePsCarrier, Column: "max_height"}, MaxDepth: gormcol.Field{Table: TableNamePsCarrier, Column: "max_depth"}, MaxWeight: gormcol.Field{Table: TableNamePsCarrier, Column: "max_weight"}, Grade: gormcol.Field{Table: TableNamePsCarrier, Column: "grade"}, }