add notes
This commit is contained in:
@@ -40,6 +40,7 @@ type OrderItemDB struct {
|
||||
CreatedBy int64 `gorm:"column:created_by"`
|
||||
CreatedAt time.Time `gorm:"column:created_at"`
|
||||
Product ProductDB `gorm:"foreignKey:ItemID;references:ID"`
|
||||
Notes string `gorm:"column:notes"`
|
||||
}
|
||||
|
||||
func (OrderItemDB) TableName() string {
|
||||
@@ -83,6 +84,7 @@ type InquiryItemDB struct {
|
||||
Quantity int `gorm:"column:quantity"`
|
||||
CreatedBy int64 `gorm:"column:created_by"`
|
||||
CreatedAt time.Time `gorm:"column:created_at"`
|
||||
Notes string `gorm:"column:notes"`
|
||||
}
|
||||
|
||||
func (InquiryItemDB) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user