fusenapi/model/gmodel/fs_cloud_storage_stock_gen.go

21 lines
605 B
Go
Raw Permalink Normal View History

2023-09-19 11:17:04 +00:00
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"}
}