2023-06-19 01:53:35 +00:00
|
|
|
package gmodel
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"gorm.io/gorm"
|
|
|
|
)
|
|
|
|
|
|
|
|
// fs_product_template_basemap 模板底图表
|
|
|
|
type FsProductTemplateBasemap 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"` // 底图名称
|
|
|
|
Url *string `gorm:"default:'';" json:"url"` // 底图地址
|
|
|
|
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
|
|
|
|
Status *int64 `gorm:"default:1;" json:"status"` // 状态值,1正常0删除
|
2023-06-16 11:04:13 +00:00
|
|
|
}
|
2023-07-20 02:13:18 +00:00
|
|
|
type FsProductTemplateBasemapModel struct {
|
|
|
|
db *gorm.DB
|
|
|
|
name string
|
|
|
|
}
|
2023-06-16 11:04:13 +00:00
|
|
|
|
|
|
|
func NewFsProductTemplateBasemapModel(db *gorm.DB) *FsProductTemplateBasemapModel {
|
2023-07-20 02:13:18 +00:00
|
|
|
return &FsProductTemplateBasemapModel{db: db, name: "fs_product_template_basemap"}
|
2023-06-16 11:04:13 +00:00
|
|
|
}
|