add models generation and josn print
This commit is contained in:
23
app/model/prestadb/ps_supply_order_state.go
Normal file
23
app/model/prestadb/ps_supply_order_state.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
|
||||
|
||||
const TableNamePsSupplyOrderState = "ps_supply_order_state"
|
||||
|
||||
// PsSupplyOrderState mapped from table <ps_supply_order_state>
|
||||
type PsSupplyOrderState struct {
|
||||
IDSupplyOrderState int32 `gorm:"column:id_supply_order_state;primaryKey;autoIncrement:true" json:"id_supply_order_state"`
|
||||
DeliveryNote bool `gorm:"column:delivery_note;not null" json:"delivery_note"`
|
||||
Editable bool `gorm:"column:editable;not null" json:"editable"`
|
||||
ReceiptState bool `gorm:"column:receipt_state;not null" json:"receipt_state"`
|
||||
PendingReceipt bool `gorm:"column:pending_receipt;not null" json:"pending_receipt"`
|
||||
Enclosed bool `gorm:"column:enclosed;not null" json:"enclosed"`
|
||||
Color *string `gorm:"column:color" json:"color"`
|
||||
}
|
||||
|
||||
// TableName PsSupplyOrderState's table name
|
||||
func (*PsSupplyOrderState) TableName() string {
|
||||
return TableNamePsSupplyOrderState
|
||||
}
|
||||
Reference in New Issue
Block a user