Package com.creativityfactory.swiftserver.annotation
package com.creativityfactory.swiftserver.annotation
-
ClassDescriptionAnnotation used to indicate that a field represents a relationship of belonging to another class.Indicates that a class will be used as a data source, and the value specifies the ID for this data source.Indicates that a model should use a specific data source for its storage.Indicates that the annotated field represents a "has many" relationship with another class.This annotation is used to mark the field in a model class that represents the unique identifier * for the object.Indicates that this class will be used to automatically generate a REST API for a model, using the data source specified in the
FromDataSource
annotation.Indicates that a field is unrequired for a model.This annotation is used to mark that a particular field in the model class is not required for the successful creation of an instance.