release v1.2.0
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
package model
|
||||
|
||||
type ResourceSharer struct {
|
||||
ID string `gorm:"primary_key" json:"id"`
|
||||
ResourceId string `gorm:"index" json:"resourceId"`
|
||||
ResourceType string `gorm:"index" json:"resourceType"`
|
||||
UserId string `gorm:"index" json:"userId"`
|
||||
UserGroupId string `gorm:"index" json:"userGroupId"`
|
||||
ID string `gorm:"primary_key,type:varchar(36)" json:"id"`
|
||||
ResourceId string `gorm:"index,type:varchar(36)" json:"resourceId"`
|
||||
ResourceType string `gorm:"index,type:varchar(36)" json:"resourceType"`
|
||||
StrategyId string `gorm:"index,type:varchar(36)" json:"strategyId"`
|
||||
UserId string `gorm:"index,type:varchar(36)" json:"userId"`
|
||||
UserGroupId string `gorm:"index,type:varchar(36)" json:"userGroupId"`
|
||||
}
|
||||
|
||||
func (r *ResourceSharer) TableName() string {
|
||||
|
Reference in New Issue
Block a user