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,18 @@
package models
import (
"git.apinb.com/bsm-sdk/core/database"
"git.apinb.com/bsm-sdk/core/types"
)
type SenderTemplate struct {
types.Std_IICUDS
Title string `gorm:"type:varchar(255);not null;default:'';comment:模板标题"`
Key string `gorm:"type:varchar(100);not null;uniqueIndex;comment:模板标识"`
Subjet string `gorm:"type:varchar(255);not null;default:'';comment:邮件主题"`
Body string `gorm:"type:text;not null;comment:模板内容"`
}
func init() {
database.AppendMigrate(&SenderTemplate{})
}