Files
b2b/app/model/prestadb/ps_store.go

34 lines
1.2 KiB
Go

// 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 TableNamePsStore = "ps_store"
// PsStore mapped from table <ps_store>
type PsStore struct {
IDStore int32 `gorm:"column:id_store;primaryKey;autoIncrement:true" json:"id_store"`
IDCountry int32 `gorm:"column:id_country;not null" json:"id_country"`
IDState *int32 `gorm:"column:id_state" json:"id_state"`
City string `gorm:"column:city;not null" json:"city"`
Postcode string `gorm:"column:postcode;not null" json:"postcode"`
Latitude *float64 `gorm:"column:latitude" json:"latitude"`
Longitude *float64 `gorm:"column:longitude" json:"longitude"`
Phone *string `gorm:"column:phone" json:"phone"`
Fax *string `gorm:"column:fax" json:"fax"`
Email *string `gorm:"column:email" json:"email"`
Active bool `gorm:"column:active;not null" json:"active"`
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 PsStore's table name
func (*PsStore) TableName() string {
return TableNamePsStore
}