27 lines
843 B
Go
27 lines
843 B
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsAttributeShop = "ps_attribute_shop"
|
|
|
|
// PsAttributeShop mapped from table <ps_attribute_shop>
|
|
type PsAttributeShop struct {
|
|
IDAttribute int32 `gorm:"column:id_attribute;primaryKey;index:IDX_A7DD8E677A4F53DC,priority:1" json:"id_attribute"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey;index:IDX_A7DD8E67274A50A0,priority:1" json:"id_shop"`
|
|
}
|
|
|
|
// TableName PsAttributeShop's table name
|
|
func (*PsAttributeShop) TableName() string {
|
|
return TableNamePsAttributeShop
|
|
}
|
|
|
|
var PsAttributeShopCols = struct {
|
|
IDAttribute gormcol.Field
|
|
IDShop gormcol.Field
|
|
}{
|
|
IDAttribute: gormcol.Field{}.Set((&PsAttributeShop{}).TableName(), "id_attribute"),
|
|
IDShop: gormcol.Field{}.Set((&PsAttributeShop{}).TableName(), "id_shop"),
|
|
}
|