<commit_before>package de.maredit.tar.models;

import org.springframework.data.annotation.Id;

import java.time.LocalDate;

public class Vacation {

  @Id
  private String id;

  private LocalDate from;
  private LocalDate to;
  private LocalDate created;

  private User user;
  private User representation;
  private User manager;

  private int days;
  private int daysLeft;

  private State state;

  public Vacation(User user, LocalDate from, LocalDate to, User representation, User manager,
                  int days, int daysLeft) {

    this.user = user;
    this.from = from;
    this.to = to;
    this.representation = representation;
    this.manager = manager;
    this.days = days;
    this.daysLeft = daysLeft;

    this.state =
        representation != null ? State.REQUESTED_REPRESENTATION : State.WAITING_FOR_APPROVEMENT;
    this.created = LocalDate.now();
  }

  public State getState() {
    return state;
  }

  public void setState(State state) {
    this.state = state;
  }

  public int getDaysLeft() {
    return daysLeft;
  }

  public void setDaysLeft(int amountLeft) {
    this.daysLeft = daysLeft;
  }

  public int getDays() {
    return days;
  }

  public void setDays(int days) {
    this.days = days;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public User getManager() {
    return manager;
  }

  public void setManager(User manager) {
    this.manager = manager;
  }

  public User getRepresentation() {
    return representation;
  }

  public void setRepresentation(User representation) {
    this.representation = representation;
  }

  public LocalDate getTo() {
    return to;
  }

  public void setTo(LocalDate to) {
    this.to = to;
  }

  public LocalDate getFrom() {
    return from;
  }

  public void setFrom(LocalDate from) {
    this.from = from;
  }

  public LocalDate getCreated() {
    return created;
  }

  public void setCreated(LocalDate created) {
    this.created = created;
  }
}<commit_msg>TAR-45: proper name<commit_after>package de.maredit.tar.models;

import org.springframework.data.annotation.Id;

import java.time.LocalDate;

public class Vacation {

  @Id
  private String id;

  private LocalDate from;
  private LocalDate to;
  private LocalDate created;

  private User user;
  private User substitute;
  private User manager;

  private int days;
  private int daysLeft;

  private State state;

  public Vacation(User user, LocalDate from, LocalDate to, User substitute, User manager,
                  int days, int daysLeft) {

    this.user = user;
    this.from = from;
    this.to = to;
    this.substitute = substitute;
    this.manager = manager;
    this.days = days;
    this.daysLeft = daysLeft;

    this.state =
        substitute != null ? State.REQUESTED_REPRESENTATION : State.WAITING_FOR_APPROVEMENT;
    this.created = LocalDate.now();
  }

  public State getState() {
    return state;
  }

  public void setState(State state) {
    this.state = state;
  }

  public int getDaysLeft() {
    return daysLeft;
  }

  public void setDaysLeft(int amountLeft) {
    this.daysLeft = daysLeft;
  }

  public int getDays() {
    return days;
  }

  public void setDays(int days) {
    this.days = days;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public User getManager() {
    return manager;
  }

  public void setManager(User manager) {
    this.manager = manager;
  }

  public User getSubstitute() {
    return substitute;
  }

  public void setSubstitute(User substitute) {
    this.substitute = substitute;
  }

  public LocalDate getTo() {
    return to;
  }

  public void setTo(LocalDate to) {
    this.to = to;
  }

  public LocalDate getFrom() {
    return from;
  }

  public void setFrom(LocalDate from) {
    this.from = from;
  }

  public LocalDate getCreated() {
    return created;
  }

  public void setCreated(LocalDate created) {
    this.created = created;
  }
}
{'fraction_non_alphanumeric': 0.09109009457441514, 'fraction_numerical': 0.0004977600796416127, 'mean_word_length': 2.805871212121212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1454642', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1234, 'n_words': 352}