fusenapi/model/gmodel_gen/fs_cloud_deliver_tmp_gen.go
2023-06-16 19:29:48 +08:00

26 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 model
import (
"gorm.io/gorm"
)
// fs_cloud_deliver_tmp
type FsCloudDeliverTmp struct {
Id int64 `gorm:"primary_key;default:0;" 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 FsCloudDeliverTmpModel struct{ db *gorm.DB }
func NewFsCloudDeliverTmpModel(db *gorm.DB) *FsCloudDeliverTmpModel {
return &FsCloudDeliverTmpModel{db}
}