add models generation and josn print
This commit is contained in:
23
app/model/prestadb/ps_maal_invoice_note.go
Normal file
23
app/model/prestadb/ps_maal_invoice_note.go
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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 TableNamePsMaalInvoiceNote = "ps_maal_invoice_note"
|
||||
|
||||
// PsMaalInvoiceNote mapped from table <ps_maal_invoice_note>
|
||||
type PsMaalInvoiceNote struct {
|
||||
IDOrder int32 `gorm:"column:id_order;primaryKey" json:"id_order"`
|
||||
Note *string `gorm:"column:note" json:"note"`
|
||||
DateAdd time.Time `gorm:"column:date_add;not null;default:current_timestamp()" json:"date_add"`
|
||||
}
|
||||
|
||||
// TableName PsMaalInvoiceNote's table name
|
||||
func (*PsMaalInvoiceNote) TableName() string {
|
||||
return TableNamePsMaalInvoiceNote
|
||||
}
|
||||
Reference in New Issue
Block a user