fusenapi/model/gmodel/fs_standard_logo_gen.go

23 lines
719 B
Go
Raw Normal View History

2023-06-19 01:53:35 +00:00
package gmodel
2023-06-16 11:04:13 +00:00
import (
"gorm.io/gorm"
)
2023-06-16 11:29:48 +00:00
// fs_standard_logo 标准logo
2023-06-16 11:04:13 +00:00
type FsStandardLogo struct {
2023-06-19 10:27:31 +00:00
Id int64 `gorm:"primary_key;default:0;auto_increment;" 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-16 11:04:13 +00:00
}
type FsStandardLogoModel struct {
db *gorm.DB
name string
}
2023-06-16 11:04:13 +00:00
func NewFsStandardLogoModel(db *gorm.DB) *FsStandardLogoModel {
return &FsStandardLogoModel{db: db, name: "fs_standard_logo"}
}