// 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 TableNamePsAttributeImpact = "ps_attribute_impact" // PsAttributeImpact mapped from table type PsAttributeImpact struct { IDAttributeImpact int32 `gorm:"column:id_attribute_impact;primaryKey;autoIncrement:true" json:"id_attribute_impact"` IDProduct int32 `gorm:"column:id_product;not null;uniqueIndex:id_product,priority:1" json:"id_product"` IDAttribute int32 `gorm:"column:id_attribute;not null;uniqueIndex:id_product,priority:2" json:"id_attribute"` Weight float64 `gorm:"column:weight;not null" json:"weight"` Price float64 `gorm:"column:price;not null" json:"price"` } // TableName PsAttributeImpact's table name func (*PsAttributeImpact) TableName() string { return TableNamePsAttributeImpact } var PsAttributeImpactCols = struct { IDAttributeImpact gormcol.Field IDProduct gormcol.Field IDAttribute gormcol.Field Weight gormcol.Field Price gormcol.Field }{ IDAttributeImpact: gormcol.Field{Table: TableNamePsAttributeImpact, Column: "id_attribute_impact"}, IDProduct: gormcol.Field{Table: TableNamePsAttributeImpact, Column: "id_product"}, IDAttribute: gormcol.Field{Table: TableNamePsAttributeImpact, Column: "id_attribute"}, Weight: gormcol.Field{Table: TableNamePsAttributeImpact, Column: "weight"}, Price: gormcol.Field{Table: TableNamePsAttributeImpact, Column: "price"}, }