fusenapi/model/gmodel/fs_cloud_storage_stock_gen.go
2023-09-19 19:17:04 +08:00

21 lines
605 B
Go

package gmodel
import (
"gorm.io/gorm"
)
// fs_cloud_storage_stock
type FsCloudStorageStock struct {
StockId int64 `gorm:"primary_key;default:0;auto_increment;" json:"stock_id"` // 库存ID
OrderSn *string `gorm:"default:'';" json:"order_sn"` //
CloudStorageId *string `gorm:"default:'';" json:"cloud_storage_id"` //
}
type FsCloudStorageStockModel struct {
db *gorm.DB
name string
}
func NewFsCloudStorageStockModel(db *gorm.DB) *FsCloudStorageStockModel {
return &FsCloudStorageStockModel{db: db, name: "fs_cloud_storage_stock"}
}