33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsImportMatch = "ps_import_match"
|
|
|
|
// PsImportMatch mapped from table <ps_import_match>
|
|
type PsImportMatch struct {
|
|
IDImportMatch int32 `gorm:"column:id_import_match;primaryKey;autoIncrement:true" json:"id_import_match"`
|
|
Name string `gorm:"column:name;not null" json:"name"`
|
|
Match string `gorm:"column:match;not null" json:"match"`
|
|
Skip int32 `gorm:"column:skip;not null" json:"skip"`
|
|
}
|
|
|
|
// TableName PsImportMatch's table name
|
|
func (*PsImportMatch) TableName() string {
|
|
return TableNamePsImportMatch
|
|
}
|
|
|
|
var PsImportMatchCols = struct {
|
|
IDImportMatch gormcol.Field
|
|
Name gormcol.Field
|
|
Match gormcol.Field
|
|
Skip gormcol.Field
|
|
}{
|
|
IDImportMatch: gormcol.Field{}.Set((&PsImportMatch{}).TableName(), "id_import_match"),
|
|
Name: gormcol.Field{}.Set((&PsImportMatch{}).TableName(), "name"),
|
|
Match: gormcol.Field{}.Set((&PsImportMatch{}).TableName(), "match"),
|
|
Skip: gormcol.Field{}.Set((&PsImportMatch{}).TableName(), "skip"),
|
|
}
|