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 11:29:48 +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} }
|