IFreeFields Interface
Represents Free information fields on a business object. This can be used for custom code, API needs, or just for the
end user to denote Free information about the object. These fields are only shown to the user or used in the first place
if
UseExtraFields is set to
.
Namespace: MobileTrack.Common.InterfacesAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public interface IFreeFields
These fields are meant to be used as extra fields particular to a specific company; If we want to add new features for all
companies and require extra properties on a business object, we should add a new property to the object itself, not here.
The company can decide to utilize these fields for bureaucracy, for interaction with their own systems using the API,
or within their own
ActionFlowDefinitionDto's.
As for JSON Serialization; as these fields are only set if
UseExtraFields is
,
we only serialize them if, and only if a value is assigned. We do not remove the property if the
UseExtraFields
object is altered, as that would lead to data loss for something that the user wants to recover.