
package de.ivu.elect.exchange.person;

import org.jsefa.csv.annotation.CsvDataType;
import org.jsefa.csv.annotation.CsvField;

import de.ivu.elect.business.person.entity.Geschlecht;
import de.ivu.elect.exchange.BaseDTO;
import de.ivu.jsefa.CsvHeader;

@CsvDataType
public class DefaultBerufCsvDTO extends BaseDTO {

  @CsvField(pos = 1)
  @CsvHeader("Code")
  private String code;

  @CsvField(pos = 2)
  @CsvHeader("Name")
  private String name;

  @CsvField(pos = 3)
  @CsvHeader("Herkunft")
  private String herkunft;

  @CsvField(pos = 4)
  @CsvHeader("Geschlecht")
  private Geschlecht geschlecht;

  public DefaultBerufCsvDTO() {
    super();
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getHerkunft() {
    return herkunft;
  }

  public void setHerkunft(String herkunft) {
    this.herkunft = herkunft;
  }

  public Geschlecht getGeschlecht() {
    return geschlecht;
  }

  public void setGeschlecht(Geschlecht geschlecht) {
    this.geschlecht = geschlecht;
  }
}
