refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,29 @@
// Models generated by mesh dev cli,@Author: David Yan(david.yan@qq.com).
package models
import (
"git.apinb.com/bsm-sdk/core/database"
"git.apinb.com/bsm-sdk/core/types"
)
/*
* PassportStatistics
* Comment:
* Version: 10
* Created: 2022-04-12 10:41:13 , Updated:0001-01-01 00:00:00
*/
type PassportStatistics struct {
types.Std_IICUDS
types.Std_Passport
Item string `gorm:"column:item;type:varchar(255);default:'';" json:"item"` // 统计项KEY
Value int64 `gorm:"default:0;" json:"value"` // 统计项数
}
func init() {
database.AppendMigrate(&PassportStatistics{})
}
// TableName .
func (table *PassportStatistics) TableName() string {
return "passport_statistics" //对应数据库表名
}