refactor: reorganize modules and add Linux build tooling
This commit is contained in:
13
module/ec/market/internal/models/query.go
Normal file
13
module/ec/market/internal/models/query.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
const (
|
||||
// NormalStatus .
|
||||
NormalStatus = 1
|
||||
// DisabledStatus .
|
||||
DisabledStatus = -1
|
||||
)
|
||||
|
||||
type Std_Market struct {
|
||||
Market_ID uint `gorm:"primarykey;" json:"market_id"` // 代理商ID
|
||||
Market_Identity string `gorm:"column:market_identity;type:varchar(36);index;" json:"market_identity"` // 代理商唯一标识,24位NanoID,36位为ULID
|
||||
}
|
||||
Reference in New Issue
Block a user