Optional
opt: Partial<PrePostOptions>Optional configution.
The class or property decorator function.
You should probably not use this decorator as it will break typescript type
system.
If you need to pass information to the associated relation please use
constructors.
This decorator has in the context of re-writting the Matrix
decorator please
see the implementation of that decorator to understand the use-case of this.
@SharePropertiesWithRelation
assigns all properties from the current instance to the associated relation instance.