fusenapi/model/gmodel/fs_standard_logo_gen.go

21 lines
547 B
Go
Raw Normal View History

2023-06-16 11:04:13 +00:00
package gmodel
import (
"gorm.io/gorm"
)
type FsStandardLogo struct {
2023-06-16 11:26:48 +00:00
Id int64 `gorm:"primary_key" json:"id"` // ID
Name *string `gorm:"default:''" json:"name"` // logo名称
Image *string `gorm:"default:''" json:"image"` // 图片地址
Ctime *int64 `gorm:"default:0" json:"ctime"` // 添加时间
Status *int64 `gorm:"default:1" json:"status"` // 状态 1正常 0删除
}
type FsStandardLogoModel struct {
db *gorm.DB
2023-06-16 11:04:13 +00:00
}
2023-06-16 11:26:48 +00:00
func NewFsStandardLogoModel(db *gorm.DB) *FsStandardLogoModel {
return &FsStandardLogoModel{db}
}