fusenapi/model/gmodel/fs_cloud_deliver_every_tmp_gen.go

24 lines
984 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_cloud_deliver_every_tmp
type FsCloudDeliverEveryTmp struct {
2023-06-19 10:27:31 +00:00
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` //
AdminId *int64 `gorm:"default:0;" json:"admin_id"` // 管理员
CloudId *int64 `gorm:"default:0;" json:"cloud_id"` // 云仓ID 暂且只有一个默认为 1
OrderDetailTemplateSn *string `gorm:"default:'';" json:"order_detail_template_sn"` // 详情modelSn
Num *int64 `gorm:"default:0;" json:"num"` // 发货数量
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
2023-06-16 11:04:13 +00:00
}
type FsCloudDeliverEveryTmpModel struct {
db *gorm.DB
name string
}
2023-06-16 11:04:13 +00:00
func NewFsCloudDeliverEveryTmpModel(db *gorm.DB) *FsCloudDeliverEveryTmpModel {
return &FsCloudDeliverEveryTmpModel{db: db, name: "fs_cloud_deliver_every_tmp"}
2023-06-16 11:04:13 +00:00
}