fusenapi/model/gmodel/fs_product_model3d_light_gen.go
2023-06-19 18:27:31 +08:00

20 lines
766 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 }
func NewFsProductModel3dLightModel(db *gorm.DB) *FsProductModel3dLightModel {
return &FsProductModel3dLightModel{db}
}