// Use annotation to create a persistent property
// Strings, primitive types, and their boxed types can be persisted
@Persistent
public integer runningTotal = 0;
// Use attribute to create a persistent property
// Strings, primitive types, and their boxed types can be persisted
[Persistent]
public int runningTotal = 0;
#Set class variable to create persistent property
#Only variables of types str, int, float, bool and bytes can be persisted
PERSISTENT_PROPERTY_LIST=["myVariable1","myVariable2"]