fusenapi/model/gmodel/fs_factory_deliver_every_gen.go

23 lines
862 B
Go
Raw Normal View History

2023-06-19 01:53:35 +00:00
package gmodel
2023-06-16 11:04:13 +00:00
import (
"gorm.io/gorm"
)
// fs_factory_deliver_every 该表废弃
type FsFactoryDeliverEvery 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
FactoryDeliverId *int64 `gorm:"index;default:0;" json:"factory_deliver_id"` // 工厂发货表ID
2023-08-23 07:08:45 +00:00
OrderDetailTemplateSn *string `gorm:"index;default:'';" json:"order_detail_template_sn"` //
2023-06-16 11:29:48 +00:00
Num *int64 `gorm:"default:0;" json:"num"` // 发货数量
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
2023-06-16 11:04:13 +00:00
}
type FsFactoryDeliverEveryModel struct {
db *gorm.DB
name string
}
2023-06-16 11:04:13 +00:00
func NewFsFactoryDeliverEveryModel(db *gorm.DB) *FsFactoryDeliverEveryModel {
return &FsFactoryDeliverEveryModel{db: db, name: "fs_factory_deliver_every"}
2023-06-16 11:04:13 +00:00
}