// 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 TableNameB2bScope = "b2b_scopes" // B2bScope mapped from table type B2bScope struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Name string `gorm:"column:name;not null;uniqueIndex:uk_scopes_name,priority:1" json:"name"` } // TableName B2bScope's table name func (*B2bScope) TableName() string { return TableNameB2bScope } var B2bScopeCols = struct { ID gormcol.Field Name gormcol.Field }{ ID: gormcol.Field{}.Set((&B2bScope{}).TableName(), "id"), Name: gormcol.Field{}.Set((&B2bScope{}).TableName(), "name"), }