2022-12-17 16:10:19 -07:00
|
|
|
package models
|
|
|
|
|
2022-12-21 20:51:02 -07:00
|
|
|
//this model is used by the Webserver (see RelatedResource for db model)
|
2022-12-17 16:10:19 -07:00
|
|
|
type ResourceAssociation struct {
|
|
|
|
SourceID string `json:"source_id"`
|
|
|
|
SourceResourceType string `json:"source_resource_type"`
|
|
|
|
SourceResourceID string `json:"source_resource_id"`
|
|
|
|
|
|
|
|
OldRelatedSourceID string `json:"old_related_source_id"`
|
|
|
|
OldRelatedSourceResourceType string `json:"old_related_source_resource_type"`
|
|
|
|
OldRelatedSourceResourceID string `json:"old_related_source_resource_id"`
|
|
|
|
|
|
|
|
NewRelatedSourceID string `json:"new_related_source_id"`
|
|
|
|
NewRelatedSourceResourceType string `json:"new_related_source_resource_type"`
|
|
|
|
NewRelatedSourceResourceID string `json:"new_related_source_resource_id"`
|
|
|
|
}
|