fusenapi/model/gmodel_gen/fs_order_remark_gen.go

18 lines
617 B
Go
Raw Normal View History

2023-06-16 10:52:24 +00:00
package model
import (
"gorm.io/gorm"
)
// fs_order_remark 订单备注表
type FsOrderRemark struct {
2023-06-16 11:29:48 +00:00
Id int64 `gorm:"primary_key;default:0;" 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 10:52:24 +00:00
}
type FsOrderRemarkModel struct{ db *gorm.DB }
func NewFsOrderRemarkModel(db *gorm.DB) *FsOrderRemarkModel { return &FsOrderRemarkModel{db} }