// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsMaalInvoicehelper = "ps_maal_invoicehelper" // PsMaalInvoicehelper mapped from table type PsMaalInvoicehelper struct { IDOrder int32 `gorm:"column:id_order;primaryKey" json:"id_order"` IDOrderInvoice *int32 `gorm:"column:id_order_invoice" json:"id_order_invoice"` DateOfIssue *time.Time `gorm:"column:date_of_issue" json:"date_of_issue"` DateDeliveryExpected *time.Time `gorm:"column:date_delivery_expected" json:"date_delivery_expected"` DaysToPay *int32 `gorm:"column:days_to_pay" json:"days_to_pay"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"` } // TableName PsMaalInvoicehelper's table name func (*PsMaalInvoicehelper) TableName() string { return TableNamePsMaalInvoicehelper } var PsMaalInvoicehelperCols = struct { IDOrder gormcol.Field IDOrderInvoice gormcol.Field DateOfIssue gormcol.Field DateDeliveryExpected gormcol.Field DaysToPay gormcol.Field DateAdd gormcol.Field DateUpd gormcol.Field }{ IDOrder: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "id_order"), IDOrderInvoice: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "id_order_invoice"), DateOfIssue: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "date_of_issue"), DateDeliveryExpected: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "date_delivery_expected"), DaysToPay: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "days_to_pay"), DateAdd: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "date_add"), DateUpd: gormcol.Field{}.Set((&PsMaalInvoicehelper{}).TableName(), "date_upd"), }