// 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 TableNamePsBadge = "ps_badge" // PsBadge mapped from table type PsBadge struct { IDBadge int32 `gorm:"column:id_badge;primaryKey;autoIncrement:true" json:"id_badge"` IDPsBadge int32 `gorm:"column:id_ps_badge;not null" json:"id_ps_badge"` Type string `gorm:"column:type;not null" json:"type"` IDGroup int32 `gorm:"column:id_group;not null" json:"id_group"` GroupPosition int32 `gorm:"column:group_position;not null" json:"group_position"` Scoring int32 `gorm:"column:scoring;not null" json:"scoring"` Awb *int32 `gorm:"column:awb" json:"awb"` Validated bool `gorm:"column:validated;not null" json:"validated"` } // TableName PsBadge's table name func (*PsBadge) TableName() string { return TableNamePsBadge } var PsBadgeCols = struct { IDBadge gormcol.Field IDPsBadge gormcol.Field Type gormcol.Field IDGroup gormcol.Field GroupPosition gormcol.Field Scoring gormcol.Field Awb gormcol.Field Validated gormcol.Field }{ IDBadge: gormcol.Field{Table: TableNamePsBadge, Column: "id_badge"}, IDPsBadge: gormcol.Field{Table: TableNamePsBadge, Column: "id_ps_badge"}, Type: gormcol.Field{Table: TableNamePsBadge, Column: "type"}, IDGroup: gormcol.Field{Table: TableNamePsBadge, Column: "id_group"}, GroupPosition: gormcol.Field{Table: TableNamePsBadge, Column: "group_position"}, Scoring: gormcol.Field{Table: TableNamePsBadge, Column: "scoring"}, Awb: gormcol.Field{Table: TableNamePsBadge, Column: "awb"}, Validated: gormcol.Field{Table: TableNamePsBadge, Column: "validated"}, }