2023-06-19 01:53:35 +00:00
|
|
|
|
package gmodel
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
2023-06-16 11:29:48 +00:00
|
|
|
|
import (
|
|
|
|
|
"gorm.io/gorm"
|
|
|
|
|
)
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
2023-06-16 11:29:48 +00:00
|
|
|
|
// fs_product_model3d_light 模型-灯光组表
|
2023-06-16 11:04:13 +00:00
|
|
|
|
type FsProductModel3dLight struct {
|
2023-06-19 10:27:31 +00: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:删除)
|
|
|
|
|
Ctime *int64 `gorm:"default:0;" json:"ctime"` //
|
2023-06-16 11:04:13 +00:00
|
|
|
|
}
|
2023-06-16 11:29:48 +00:00
|
|
|
|
type FsProductModel3dLightModel struct{ db *gorm.DB }
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
|
|
|
|
func NewFsProductModel3dLightModel(db *gorm.DB) *FsProductModel3dLightModel {
|
|
|
|
|
return &FsProductModel3dLightModel{db}
|
|
|
|
|
}
|