2023-06-19 01:53:35 +00:00
|
|
|
package gmodel
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"gorm.io/gorm"
|
|
|
|
)
|
|
|
|
|
|
|
|
// fs_deliver_every 发货详细表(已废弃)
|
|
|
|
type FsDeliverEvery struct {
|
2023-06-19 10:27:31 +00:00
|
|
|
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` //
|
2023-06-16 11:29:48 +00:00
|
|
|
DeliverId *int64 `gorm:"index;default:0;" json:"deliver_id"` // 发货ID
|
2023-06-16 11:04:13 +00:00
|
|
|
OrderDetailTemplateSn *string `gorm:"index;default:'';" json:"order_detail_template_sn"` // 订单详情模板sn
|
2023-06-16 11:29:48 +00:00
|
|
|
Num *int64 `gorm:"default:0;" json:"num"` //
|
2023-06-16 11:04:13 +00:00
|
|
|
}
|
2023-07-20 02:13:18 +00:00
|
|
|
type FsDeliverEveryModel struct {
|
|
|
|
db *gorm.DB
|
|
|
|
name string
|
|
|
|
}
|
2023-06-16 11:04:13 +00:00
|
|
|
|
2023-07-20 02:13:18 +00:00
|
|
|
func NewFsDeliverEveryModel(db *gorm.DB) *FsDeliverEveryModel {
|
|
|
|
return &FsDeliverEveryModel{db: db, name: "fs_deliver_every"}
|
|
|
|
}
|