fusenapi/model/gmodel_gen/fs_factory_deliver_gen.go
2023-06-19 10:12:58 +08:00

20 lines
971 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package gmodel
import (
"gorm.io/gorm"
)
// fs_factory_deliver 工厂发货主表(废弃)
type FsFactoryDeliver struct {
Id int64 `gorm:"primary_key;default:0;" json:"id"` //
Sn *string `gorm:"index;default:'';" json:"sn"` // 工厂发货编号sn
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 创建时间
DeliveryMethod *int64 `gorm:"default:0;" json:"delivery_method"` // 发货方式( 1:直接发货到收获地址 2云仓
OrderId *int64 `gorm:"index;default:0;" json:"order_id"` // 订单id
IsArriveCloud *int64 `gorm:"default:0;" json:"is_arrive_cloud"` // 是否到达云仓 0未到达1已到达
IsArriveAgent *int64 `gorm:"default:0;" json:"is_arrive_agent"` // 是否到达货代公司 0未到达1已到达
}
type FsFactoryDeliverModel struct{ db *gorm.DB }
func NewFsFactoryDeliverModel(db *gorm.DB) *FsFactoryDeliverModel { return &FsFactoryDeliverModel{db} }