fix
This commit is contained in:
parent
c387f5d17b
commit
b12a61b2f6
25
model/gmodel/fs_order_combine_image_record_gen.go
Normal file
25
model/gmodel/fs_order_combine_image_record_gen.go
Normal file
|
@ -0,0 +1,25 @@
|
|||
package gmodel
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
// fs_order_combine_image_record 刀版图记录表
|
||||
type FsOrderCombineImageRecord struct {
|
||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // Id
|
||||
OrderId *int64 `gorm:"default:0;" json:"order_id"` // 订单id
|
||||
CartId *int64 `gorm:"default:0;" json:"cart_id"` // 购物车id
|
||||
ProductId *int64 `gorm:"default:0;" json:"product_id"` // 产品id
|
||||
CombineImage *string `gorm:"default:'';" json:"combine_image"` //
|
||||
GerentId *int64 `gorm:"default:0;" json:"gerent_id"` // 操作人
|
||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||
}
|
||||
type FsOrderCombineImageRecordModel struct {
|
||||
db *gorm.DB
|
||||
name string
|
||||
}
|
||||
|
||||
func NewFsOrderCombineImageRecordModel(db *gorm.DB) *FsOrderCombineImageRecordModel {
|
||||
return &FsOrderCombineImageRecordModel{db: db, name: "fs_order_combine_image_record"}
|
||||
}
|
2
model/gmodel/fs_order_combine_image_record_logic.go
Normal file
2
model/gmodel/fs_order_combine_image_record_logic.go
Normal file
|
@ -0,0 +1,2 @@
|
|||
package gmodel
|
||||
// TODO: 使用model的属性做你想做的
|
24
model/gmodel/fs_zip_code_gen.go
Normal file
24
model/gmodel/fs_zip_code_gen.go
Normal file
|
@ -0,0 +1,24 @@
|
|||
package gmodel
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
// fs_zip_code 邮编表
|
||||
type FsZipCode struct {
|
||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // ID
|
||||
ZipCode *string `gorm:"default:'';" json:"zip_code"` // 邮编
|
||||
Manager *int64 `gorm:"default:0;" json:"manager"` // 负责人
|
||||
Status *int64 `gorm:"default:0;" json:"status"` // 状态 1正常0关闭
|
||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
||||
}
|
||||
type FsZipCodeModel struct {
|
||||
db *gorm.DB
|
||||
name string
|
||||
}
|
||||
|
||||
func NewFsZipCodeModel(db *gorm.DB) *FsZipCodeModel {
|
||||
return &FsZipCodeModel{db: db, name: "fs_zip_code"}
|
||||
}
|
2
model/gmodel/fs_zip_code_logic.go
Normal file
2
model/gmodel/fs_zip_code_logic.go
Normal file
|
@ -0,0 +1,2 @@
|
|||
package gmodel
|
||||
// TODO: 使用model的属性做你想做的
|
Loading…
Reference in New Issue
Block a user