2023-06-19 01:53:35 +00:00
|
|
|
package gmodel
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"gorm.io/gorm"
|
|
|
|
)
|
|
|
|
|
|
|
|
// fs_order_remark 订单备注表
|
|
|
|
type FsOrderRemark struct {
|
2023-06-19 10:27:31 +00:00
|
|
|
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // id
|
|
|
|
OrderId *int64 `gorm:"index;default:0;" json:"order_id"` // 订单id
|
|
|
|
Remark *string `gorm:"default:'';" json:"remark"` // 订单备注
|
|
|
|
AdminId *int64 `gorm:"default:0;" json:"admin_id"` // 后台操作人员
|
|
|
|
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
|
2023-06-16 11:04:13 +00:00
|
|
|
}
|
|
|
|
type FsOrderRemarkModel struct{ db *gorm.DB }
|
|
|
|
|
|
|
|
func NewFsOrderRemarkModel(db *gorm.DB) *FsOrderRemarkModel { return &FsOrderRemarkModel{db} }
|