fusenapi/model/gmodel_gen/fs_cloud_pick_up_detail_gen.go

21 lines
738 B
Go
Raw Normal View History

2023-06-19 02:12:58 +00:00
package gmodel
2023-06-16 10:52:24 +00:00
import (
"gorm.io/gorm"
)
// fs_cloud_pick_up_detail 云仓提货单-详情
type FsCloudPickUpDetail struct {
2023-06-16 11:51:41 +00:00
Id int64 `gorm:"primary_key;default:0;" json:"id"` // Id
2023-06-16 11:29:48 +00:00
PickId *int64 `gorm:"index;default:0;" json:"pick_id"` // 提货单id
StockId *int64 `gorm:"default:0;" json:"stock_id"` // 用户云仓记录id
Num *int64 `gorm:"default:0;" json:"num"` // 提取数量
Boxes *int64 `gorm:"default:0;" json:"boxes"` // 提取箱数
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
2023-06-16 10:52:24 +00:00
}
type FsCloudPickUpDetailModel struct{ db *gorm.DB }
func NewFsCloudPickUpDetailModel(db *gorm.DB) *FsCloudPickUpDetailModel {
return &FsCloudPickUpDetailModel{db}
}