add models generation and josn print

This commit is contained in:
2026-03-26 02:22:14 +01:00
parent 7c5a993623
commit af2b276599
319 changed files with 7394 additions and 27 deletions

View File

@@ -0,0 +1,25 @@
// 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 TableNamePsOrderSlipDetail = "ps_order_slip_detail"
// PsOrderSlipDetail mapped from table <ps_order_slip_detail>
type PsOrderSlipDetail struct {
IDOrderSlip int32 `gorm:"column:id_order_slip;primaryKey" json:"id_order_slip"`
IDOrderDetail int32 `gorm:"column:id_order_detail;primaryKey" json:"id_order_detail"`
ProductQuantity int32 `gorm:"column:product_quantity;not null" json:"product_quantity"`
UnitPriceTaxExcl *float64 `gorm:"column:unit_price_tax_excl" json:"unit_price_tax_excl"`
UnitPriceTaxIncl *float64 `gorm:"column:unit_price_tax_incl" json:"unit_price_tax_incl"`
TotalPriceTaxExcl *float64 `gorm:"column:total_price_tax_excl" json:"total_price_tax_excl"`
TotalPriceTaxIncl *float64 `gorm:"column:total_price_tax_incl" json:"total_price_tax_incl"`
AmountTaxExcl *float64 `gorm:"column:amount_tax_excl" json:"amount_tax_excl"`
AmountTaxIncl *float64 `gorm:"column:amount_tax_incl" json:"amount_tax_incl"`
}
// TableName PsOrderSlipDetail's table name
func (*PsOrderSlipDetail) TableName() string {
return TableNamePsOrderSlipDetail
}