Files
full/apps/base/sender/internal/models/sender_template.go

19 lines
526 B
Go

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{})
}