<commit_before>package de.rwth.idsg.velocity.web.rest.dto.view;

import lombok.Getter;
import lombok.ToString;
import org.joda.time.LocalDate;

/**
 * Created by swam on 05/06/14.
 */
@ToString(includeFieldNames = true)
public class ViewCustomerDTO {

    @Getter private String login;
    @Getter private String customerId;
    @Getter private String fullName;
    @Getter private String mailAddress;
    @Getter private Boolean isActivated;
    @Getter private LocalDate birthday;
    @Getter private String cardId;

    public ViewCustomerDTO(String login, String customerId, String firstname, String lastname,
                           String mailAddress, Boolean isActivated,
                           LocalDate birthday, String cardId) {
        this.login = login;
        this.customerId = customerId;
        this.fullName = firstname + " " + lastname;
        this.mailAddress = mailAddress;
        this.isActivated = isActivated;
        this.birthday = birthday;
        this.cardId = cardId;
    }

}<commit_msg>fix: json serialize birthday<commit_after>package de.rwth.idsg.velocity.web.rest.dto.view;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import de.rwth.idsg.velocity.web.rest.dto.util.CustomLocalDateSerializer;
import lombok.Getter;
import lombok.ToString;
import org.joda.time.LocalDate;

/**
 * Created by swam on 05/06/14.
 */
@ToString(includeFieldNames = true)
public class ViewCustomerDTO {

    @Getter private String login;
    @Getter private String customerId;
    @Getter private String fullName;
    @Getter private String mailAddress;
    @Getter private Boolean isActivated;
    @Getter private String cardId;

    @JsonSerialize(using = CustomLocalDateSerializer.class)
    @Getter
    private LocalDate birthday;

    public ViewCustomerDTO(String login, String customerId, String firstname, String lastname,
                           String mailAddress, Boolean isActivated,
                           LocalDate birthday, String cardId) {
        this.login = login;
        this.customerId = customerId;
        this.fullName = firstname + " " + lastname;
        this.mailAddress = mailAddress;
        this.isActivated = isActivated;
        this.birthday = birthday;
        this.cardId = cardId;
    }

}
{'fraction_non_alphanumeric': 0.08311345646437995, 'fraction_numerical': 0.005277044854881266, 'mean_word_length': 2.9224137931034484, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '260939', 'n_tokens_mistral': 651, 'n_tokens_neox': 648, 'n_words': 165}