fusenapi/model/gmodel/fs_product_design_gather_gen.go
2023-06-16 19:04:13 +08:00

29 lines
1.4 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package gmodel
import (
"gorm.io/gorm"
)
// fs_product_design_gather
type FsProductDesignGather struct {
Id int64 `gorm:"primary_key;default:'0';" json:"id"` //
Sn *string `gorm:"index;default:'';" json:"sn"` // 唯一标识
UserId *int64 `gorm:"index;default:'0';" json:"user_id"` //
ProductId *int64 `gorm:"index;default:'0';" json:"product_id"` // 产品ID
TemplateId *int64 `gorm:"index;default:'0';" json:"template_id"` // 模型ID
MaterialId *int64 `gorm:"index;default:'0';" json:"material_id"` // 材质ID
SizeId *int64 `gorm:"index;default:'0';" json:"size_id"` // 尺寸ID
OptionalId *int64 `gorm:"index;default:'0';" json:"optional_id"` // 选项ID
Cover *string `gorm:"default:'';" json:"cover"` //
Info *string `gorm:"default:'';" json:"info"` // 保留的设计信息
Utime *int64 `gorm:"default:'0';" json:"utime"` //
Status *int64 `gorm:"default:'1';" json:"status"` // 状态位1显示0删除
ClientIp *string `gorm:"default:'';" json:"client_ip"` // 客户端ip
ClientNo *string `gorm:"default:'';" json:"client_no"` // 客户端唯一标识
}
type FsProductDesignGatherModel struct{ db *gorm.DB }
func NewFsProductDesignGatherModel(db *gorm.DB) *FsProductDesignGatherModel {
return &FsProductDesignGatherModel{db}
}