mirror of
https://shylinux.com/x/enterprise
synced 2025-04-25 17:18:06 +08:00
add some
This commit is contained in:
parent
24898ca171
commit
41e1f6070c
@ -62,29 +62,24 @@ type Store struct {
|
|||||||
}
|
}
|
||||||
type Shop struct {
|
type Shop struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
Address string `gorm:"type:varchar(255)"`
|
Address string `gorm:"type:varchar(255)"`
|
||||||
}
|
}
|
||||||
type Warehouse struct {
|
type Warehouse struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
Address string `gorm:"type:varchar(255)"`
|
Address string `gorm:"type:varchar(255)"`
|
||||||
}
|
}
|
||||||
type Quality struct {
|
type Quality struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
}
|
}
|
||||||
type Brand struct {
|
type Brand struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
}
|
}
|
||||||
type Product struct {
|
type Product struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
ShopUID string `gorm:"type:char(32);index"`
|
ShopUID string `gorm:"type:char(32);index"`
|
||||||
WarehouseUID string `gorm:"type:char(32);index"`
|
WarehouseUID string `gorm:"type:char(32);index"`
|
||||||
@ -151,7 +146,6 @@ func init() {
|
|||||||
|
|
||||||
type Expense struct {
|
type Expense struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
FromUserUID string `gorm:"type:char(32)"`
|
FromUserUID string `gorm:"type:char(32)"`
|
||||||
ToUserUID string `gorm:"type:char(32)"`
|
ToUserUID string `gorm:"type:char(32)"`
|
||||||
@ -159,7 +153,6 @@ type Expense struct {
|
|||||||
}
|
}
|
||||||
type Loan struct {
|
type Loan struct {
|
||||||
db.ModelNameInfo
|
db.ModelNameInfo
|
||||||
UserUID string `gorm:"type:char(32);index"`
|
|
||||||
StoreUID string `gorm:"type:char(32);index"`
|
StoreUID string `gorm:"type:char(32);index"`
|
||||||
FromUserUID string `gorm:"type:char(32)"`
|
FromUserUID string `gorm:"type:char(32)"`
|
||||||
ToUserUID string `gorm:"type:char(32)"`
|
ToUserUID string `gorm:"type:char(32)"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user