fusenapi/model/gmodel/fs_cloud_deliver_tmp_old_gen.go
2023-09-15 11:20:49 +08:00

29 lines
1.4 KiB
Go
Raw Permalink 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_cloud_deliver_tmp_old
type FsCloudDeliverTmpOld struct {
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // id
CloudId *int64 `gorm:"default:0;" json:"cloud_id"` // 云仓id
UserId *int64 `gorm:"default:0;" json:"user_id"` // 用户id
AdminId *int64 `gorm:"default:0;" json:"admin_id"` // 操作员id
DeliveryType *int64 `gorm:"default:1;" json:"delivery_type"` // 发货公司 之后配置默认1
Fee *int64 `gorm:"default:0;" json:"fee"` // 价格
AddressId *int64 `gorm:"default:0;" json:"address_id"` // 地址
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 创建时间
IsDeliver *int64 `gorm:"default:0;" json:"is_deliver"` // 0未发货1已发货
IsEnd *int64 `gorm:"default:0;" json:"is_end"` // 0未完成1已完成
DeliverId *int64 `gorm:"default:0;" json:"deliver_id"` // 发货总表id
}
type FsCloudDeliverTmpOldModel struct {
db *gorm.DB
name string
}
func NewFsCloudDeliverTmpOldModel(db *gorm.DB) *FsCloudDeliverTmpOldModel {
return &FsCloudDeliverTmpOldModel{db: db, name: "fs_cloud_deliver_tmp_old"}
}