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

25 lines
1.0 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
const TableNamePsWarehouse = "ps_warehouse"
// PsWarehouse mapped from table <ps_warehouse>
type PsWarehouse struct {
IDWarehouse int32 `gorm:"column:id_warehouse;primaryKey;autoIncrement:true" json:"id_warehouse"`
IDCurrency int32 `gorm:"column:id_currency;not null" json:"id_currency"`
IDAddress int32 `gorm:"column:id_address;not null" json:"id_address"`
IDEmployee int32 `gorm:"column:id_employee;not null" json:"id_employee"`
Reference *string `gorm:"column:reference" json:"reference"`
Name string `gorm:"column:name;not null" json:"name"`
ManagementType string `gorm:"column:management_type;not null;default:WA" json:"management_type"`
Deleted bool `gorm:"column:deleted;not null" json:"deleted"`
}
// TableName PsWarehouse's table name
func (*PsWarehouse) TableName() string {
return TableNamePsWarehouse
}