add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_export_invoice.go
Normal file
19
app/model/prestadb/ps_export_invoice.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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
|
||||
|
||||
const TableNamePsExportInvoice = "ps_export_invoice"
|
||||
|
||||
// PsExportInvoice mapped from table <ps_export_invoice>
|
||||
type PsExportInvoice struct {
|
||||
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
||||
IDOrder int32 `gorm:"column:id_order;not null" json:"id_order"`
|
||||
IsExport bool `gorm:"column:is_export;not null" json:"is_export"`
|
||||
}
|
||||
|
||||
// TableName PsExportInvoice's table name
|
||||
func (*PsExportInvoice) TableName() string {
|
||||
return TableNamePsExportInvoice
|
||||
}
|
||||
Reference in New Issue
Block a user