add models generation and josn print
This commit is contained in:
30
app/model/prestadb/ps_order_state.go
Normal file
30
app/model/prestadb/ps_order_state.go
Normal file
@@ -0,0 +1,30 @@
|
||||
// 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 TableNamePsOrderState = "ps_order_state"
|
||||
|
||||
// PsOrderState mapped from table <ps_order_state>
|
||||
type PsOrderState struct {
|
||||
IDOrderState int32 `gorm:"column:id_order_state;primaryKey;autoIncrement:true" json:"id_order_state"`
|
||||
Invoice *bool `gorm:"column:invoice" json:"invoice"`
|
||||
SendEmail bool `gorm:"column:send_email;not null" json:"send_email"`
|
||||
ModuleName *string `gorm:"column:module_name;index:module_name,priority:1" json:"module_name"`
|
||||
Color *string `gorm:"column:color" json:"color"`
|
||||
Unremovable bool `gorm:"column:unremovable;not null" json:"unremovable"`
|
||||
Hidden bool `gorm:"column:hidden;not null" json:"hidden"`
|
||||
Logable bool `gorm:"column:logable;not null" json:"logable"`
|
||||
Delivery bool `gorm:"column:delivery;not null" json:"delivery"`
|
||||
Shipped bool `gorm:"column:shipped;not null" json:"shipped"`
|
||||
Paid bool `gorm:"column:paid;not null" json:"paid"`
|
||||
PdfInvoice bool `gorm:"column:pdf_invoice;not null" json:"pdf_invoice"`
|
||||
PdfDelivery bool `gorm:"column:pdf_delivery;not null" json:"pdf_delivery"`
|
||||
Deleted bool `gorm:"column:deleted;not null" json:"deleted"`
|
||||
}
|
||||
|
||||
// TableName PsOrderState's table name
|
||||
func (*PsOrderState) TableName() string {
|
||||
return TableNamePsOrderState
|
||||
}
|
||||
Reference in New Issue
Block a user