feat: 初始化核心应用结构,新增循环交易、短信、分配规则和用户设置等服务,并更新相关依赖和配置。
This commit is contained in:
@@ -513,6 +513,7 @@ type AllocationRule struct {
|
||||
TriggerType TriggerType `gorm:"size:20;not null" json:"trigger_type"`
|
||||
SourceAccountID *uint `gorm:"index" json:"source_account_id,omitempty"` // 触发分配的源账户,为空则匹配所有账户
|
||||
IsActive bool `gorm:"default:true" json:"is_active"`
|
||||
AutoExecute bool `gorm:"default:true" json:"auto_execute"` // 是否自动执行(不需要确认)
|
||||
|
||||
// Relationships
|
||||
SourceAccount *Account `gorm:"foreignKey:SourceAccountID" json:"source_account,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user