Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter name

type

Info

separator

string

mandatory - can be ',' or ';' or 'anything'

skipFirstLine

boolean

optional - default value = false - allow to skip the first line of the CSV file

This annotation is associated to the root class of the model and must be declared one time.

case 1 : separator = ','
If the record represents orders, then this annotation is added to the Order class like this :

...

Parameter name

type

Info

linkType

LinkType

optional - by default the value is LinkType.oneToOne

Only one-to-one relation is allowed.

e.g : If the model Class Client is linked to the Order class, then use annotation Link in the Order class like this:

@Link
private Client client

...