fusenapi/model/gmodel/fs_cloud_receive_every_gen.go

20 lines
798 B
Go
Raw Normal View History

2023-06-16 11:51:41 +00:00
package model
2023-06-16 11:04:13 +00:00
import (
"gorm.io/gorm"
)
// fs_cloud_receive_every
type FsCloudReceiveEvery struct {
2023-06-16 11:29:48 +00:00
Id int64 `gorm:"primary_key;default:0;" json:"id"` //
DeliveryId *int64 `gorm:"index;default:0;" json:"delivery_id"` // 云仓收货单id
2023-06-16 11:04:13 +00:00
OrderDetailTemplateSn *string `gorm:"index;default:'';" json:"order_detail_template_sn"` // 详情modelSn
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 FsCloudReceiveEveryModel struct{ db *gorm.DB }
func NewFsCloudReceiveEveryModel(db *gorm.DB) *FsCloudReceiveEveryModel {
return &FsCloudReceiveEveryModel{db}
}