fusenapi/model/gmodel_gen/fs_standard_logo_gen.go

18 lines
605 B
Go
Raw Normal View History

2023-06-15 03:05:33 +00:00
package model
import (
"gorm.io/gorm"
)
2023-06-16 10:52:24 +00:00
// fs_standard_logo 标准logo
2023-06-15 03:05:33 +00:00
type FsStandardLogo struct {
2023-06-16 10:52:24 +00:00
Id int64 `gorm:"primary_key;default:'0';" json:"id"` // ID
Name *string `gorm:"default:'';" json:"name"` //
Image *string `gorm:"default:'';" json:"image"` //
Ctime *int64 `gorm:"default:'0';" json:"ctime"` // 添加时间
Status *int64 `gorm:"default:'1';" json:"status"` // 状态 1正常 0删除
2023-06-15 03:05:33 +00:00
}
type FsStandardLogoModel struct{ db *gorm.DB }
func NewFsStandardLogoModel(db *gorm.DB) *FsStandardLogoModel { return &FsStandardLogoModel{db} }