add models generation and josn print
This commit is contained in:
32
app/model/prestadb/ps_dpdpoland_sender_address.go
Normal file
32
app/model/prestadb/ps_dpdpoland_sender_address.go
Normal file
@@ -0,0 +1,32 @@
|
||||
// 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 TableNamePsDpdpolandSenderAddress = "ps_dpdpoland_sender_address"
|
||||
|
||||
// PsDpdpolandSenderAddress mapped from table <ps_dpdpoland_sender_address>
|
||||
type PsDpdpolandSenderAddress struct {
|
||||
IDSenderAddress int32 `gorm:"column:id_sender_address;primaryKey;autoIncrement:true" json:"id_sender_address"`
|
||||
Alias string `gorm:"column:alias;not null" json:"alias"`
|
||||
Company string `gorm:"column:company;not null" json:"company"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
Address string `gorm:"column:address;not null" json:"address"`
|
||||
City string `gorm:"column:city;not null" json:"city"`
|
||||
Email string `gorm:"column:email;not null" json:"email"`
|
||||
Postcode string `gorm:"column:postcode;not null" json:"postcode"`
|
||||
Phone string `gorm:"column:phone;not null" json:"phone"`
|
||||
IDShop int32 `gorm:"column:id_shop;not null" json:"id_shop"`
|
||||
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 PsDpdpolandSenderAddress's table name
|
||||
func (*PsDpdpolandSenderAddress) TableName() string {
|
||||
return TableNamePsDpdpolandSenderAddress
|
||||
}
|
||||
Reference in New Issue
Block a user