提交
This commit is contained in:
@@ -6,7 +6,7 @@ import "time"
|
||||
// 支持: 用户专属 > 角色 > 系统默认
|
||||
// 同一用户可通过多个角色获得多个存储策略, 按优先级调度
|
||||
type StorageAssignment struct {
|
||||
ID uint64 `json:"id" gorm:"primaryKey;autoIncrement"`
|
||||
ID uint64 `json:"id" gorm:"primaryKey"`
|
||||
PolicyID uint64 `json:"policy_id" gorm:"index;not null"` // 存储策略ID
|
||||
|
||||
// 分配目标
|
||||
|
||||
Reference in New Issue
Block a user