fusenapi/model/gmodel/fs_factory_deliver_gen.go
laodaming b91c8d75f0 fix
2023-08-23 15:08:45 +08:00

25 lines
1.1 KiB
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;auto_increment;" json:"id"` //
Sn *string `gorm:"index;default:'';" json:"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
name string
}
func NewFsFactoryDeliverModel(db *gorm.DB) *FsFactoryDeliverModel {
return &FsFactoryDeliverModel{db: db, name: "fs_factory_deliver"}
}