fusenapi/model/gmodel/fs_product_model3d_light_gen.go

23 lines
834 B
Go
Raw Normal View History

2023-06-19 09:53:35 +08:00
package gmodel
2023-06-16 19:04:13 +08:00
2023-06-16 19:29:48 +08:00
import (
"gorm.io/gorm"
)
2023-06-16 19:04:13 +08:00
2023-06-16 19:29:48 +08:00
// fs_product_model3d_light 模型-灯光组表
2023-06-16 19:04:13 +08:00
type FsProductModel3dLight struct {
2023-06-19 18:27:31 +08:00
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` //
Name *string `gorm:"default:'';" json:"name"` // 灯光名称
Info *string `gorm:"default:'';" json:"info"` // 灯光数据json格式
Status *int64 `gorm:"default:1;" json:"status"` // 状态值1显示0删除
2023-08-18 11:41:36 +08:00
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 创建时间
2023-06-16 19:04:13 +08:00
}
type FsProductModel3dLightModel struct {
db *gorm.DB
name string
}
2023-06-16 19:04:13 +08:00
func NewFsProductModel3dLightModel(db *gorm.DB) *FsProductModel3dLightModel {
return &FsProductModel3dLightModel{db: db, name: "fs_product_model3d_light"}
2023-06-16 19:04:13 +08:00
}