# Annotation: com.pnfsoftware.jeb.util.serialization.annotations.SerId

Annotate fields that should be persisted. Do not use in conjunction with 'transient'. Valid identifier values are positive values. Fields of a same class should have unique identifiers whose value should remain persistent across the class update history. 

 All instance fields of a serializable type should be marked either [SerId](SerId) or [SerTransient](SerTransient).

## Method: deprecated
- return type: `boolean`

Description: Optional value indicating if the field was deprecated. Such fields are restored from, but \*not\* saved to, a JDB2.

## Method: value
- return type: `int`

Description: The field id value. Must be greater than 0.

## Method: version
- return type: `int`

Description: Optional version attribute specifies in which version of the object the field was introduced. The default value if 0. If specified, the corresponding type should have an [SerVersion](SerVersion) annotation.

