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

27 lines
846 B
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 TableNamePsOrderNote = "ps_order_notes"
// PsOrderNote mapped from table <ps_order_notes>
type PsOrderNote struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
IDOrder int32 `gorm:"column:id_order;not null" json:"id_order"`
IDEmployee int32 `gorm:"column:id_employee;not null" json:"id_employee"`
Note *string `gorm:"column:note" json:"note"`
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 PsOrderNote's table name
func (*PsOrderNote) TableName() string {
return TableNamePsOrderNote
}