Files
gormcol/app/model/dbmodel/ps_pocztapolskaen_post_office.go

44 lines
1.7 KiB
Go

// 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"
"time"
)
const TableNamePsPocztapolskaenPostOffice = "ps_pocztapolskaen_post_office"
// PsPocztapolskaenPostOffice mapped from table <ps_pocztapolskaen_post_office>
type PsPocztapolskaenPostOffice struct {
IDPostOffice int32 `gorm:"column:id_post_office;primaryKey;autoIncrement:true" json:"id_post_office"`
IDEn *int32 `gorm:"column:id_en" json:"id_en"`
Name *string `gorm:"column:name" json:"name"`
Description *string `gorm:"column:description" json:"description"`
DateAdd *time.Time `gorm:"column:date_add" json:"date_add"`
DateUpd *time.Time `gorm:"column:date_upd" json:"date_upd"`
}
// TableName PsPocztapolskaenPostOffice's table name
func (*PsPocztapolskaenPostOffice) TableName() string {
return TableNamePsPocztapolskaenPostOffice
}
var PsPocztapolskaenPostOfficeCols = struct {
IDPostOffice gormcol.Field
IDEn gormcol.Field
Name gormcol.Field
Description gormcol.Field
DateAdd gormcol.Field
DateUpd gormcol.Field
}{
IDPostOffice: gormcol.Field{Table: TableNamePsPocztapolskaenPostOffice, Column: "id_post_office"},
IDEn: gormcol.Field{Table: TableNamePsPocztapolskaenPostOffice, Column: "id_en"},
Name: gormcol.Field{Table: TableNamePsPocztapolskaenPostOffice, Column: "name"},
Description: gormcol.Field{Table: TableNamePsPocztapolskaenPostOffice, Column: "description"},
DateAdd: gormcol.Field{Table: TableNamePsPocztapolskaenPostOffice, Column: "date_add"},
DateUpd: gormcol.Field{Table: TableNamePsPocztapolskaenPostOffice, Column: "date_upd"},
}