add models generation and josn print
This commit is contained in:
27
app/model/prestadb/ps_maal_invoicehelper.go
Normal file
27
app/model/prestadb/ps_maal_invoicehelper.go
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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 prestadb
|
||||
|
||||
import (
|
||||
"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
|
||||
}
|
||||
Reference in New Issue
Block a user