47 lines
1.9 KiB
Go
47 lines
1.9 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 TableNamePsMaalInvoicehelper = "ps_maal_invoicehelper"
|
|
|
|
// PsMaalInvoicehelper mapped from table <ps_maal_invoicehelper>
|
|
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{Table: TableNamePsMaalInvoicehelper, Column: "id_order"},
|
|
IDOrderInvoice: gormcol.Field{Table: TableNamePsMaalInvoicehelper, Column: "id_order_invoice"},
|
|
DateOfIssue: gormcol.Field{Table: TableNamePsMaalInvoicehelper, Column: "date_of_issue"},
|
|
DateDeliveryExpected: gormcol.Field{Table: TableNamePsMaalInvoicehelper, Column: "date_delivery_expected"},
|
|
DaysToPay: gormcol.Field{Table: TableNamePsMaalInvoicehelper, Column: "days_to_pay"},
|
|
DateAdd: gormcol.Field{Table: TableNamePsMaalInvoicehelper, Column: "date_add"},
|
|
DateUpd: gormcol.Field{Table: TableNamePsMaalInvoicehelper, Column: "date_upd"},
|
|
}
|