fusenapi/model/gmodel/fs_product_model3d_light_gen.go
laodaming f519e27719 fix
2023-08-18 11:41:36 +08:00

23 lines
834 B
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 gmodel
import (
"gorm.io/gorm"
)
// fs_product_model3d_light 模型-灯光组表
type FsProductModel3dLight struct {
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"` // 创建时间
}
type FsProductModel3dLightModel struct {
db *gorm.DB
name string
}
func NewFsProductModel3dLightModel(db *gorm.DB) *FsProductModel3dLightModel {
return &FsProductModel3dLightModel{db: db, name: "fs_product_model3d_light"}
}