add models generation and josn print
This commit is contained in:
26
app/model/prestadb/ps_dpdpoland_payer_number.go
Normal file
26
app/model/prestadb/ps_dpdpoland_payer_number.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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 TableNamePsDpdpolandPayerNumber = "ps_dpdpoland_payer_number"
|
||||
|
||||
// PsDpdpolandPayerNumber mapped from table <ps_dpdpoland_payer_number>
|
||||
type PsDpdpolandPayerNumber struct {
|
||||
IDDpdpolandPayerNumber int32 `gorm:"column:id_dpdpoland_payer_number;primaryKey;autoIncrement:true" json:"id_dpdpoland_payer_number"`
|
||||
IDShop int32 `gorm:"column:id_shop;not null" json:"id_shop"`
|
||||
PayerNumber string `gorm:"column:payer_number;not null" json:"payer_number"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
|
||||
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
|
||||
}
|
||||
|
||||
// TableName PsDpdpolandPayerNumber's table name
|
||||
func (*PsDpdpolandPayerNumber) TableName() string {
|
||||
return TableNamePsDpdpolandPayerNumber
|
||||
}
|
||||
Reference in New Issue
Block a user