<commit_before>package com.google.rolecall.models;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.rolecall.Constants;
import com.google.rolecall.jsonobjects.UserInfo;
import com.google.rolecall.restcontrollers.exceptionhandling.RequestExceptions.InvalidParameterException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Optional;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.NaturalId;

/* Basic user information. */
@Entity
@Table
public class User {
  
  @Id
  @GeneratedValue(strategy=GenerationType.AUTO)
  private Integer id;

  @Column(nullable = false)
  private String firstName;

  @Column(nullable = false)
  private String middleName;

  @Column(nullable = false)
  private String lastName;

  @Column(nullable = false)
  private String suffix;

  @NaturalId
  @Column(nullable = false, unique = true)
  private String email;

  @Basic
  private String phoneNumber;

  @Basic
  @Temporal(TemporalType.DATE)
  @JsonFormat(pattern="MM-dd-yyyy")
  private Calendar dateJoined;
<commit_msg>make middle name and suffix not required<commit_after>package com.google.rolecall.models;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.rolecall.Constants;
import com.google.rolecall.jsonobjects.UserInfo;
import com.google.rolecall.restcontrollers.exceptionhandling.RequestExceptions.InvalidParameterException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Optional;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.NaturalId;

/* Basic user information. */
@Entity
@Table
public class User {
  
  @Id
  @GeneratedValue(strategy=GenerationType.AUTO)
  private Integer id;

  @Column(nullable = false)
  private String firstName;

  @Basic
  private String middleName;

  @Column(nullable = false)
  private String lastName;

  @Basic
  private String suffix;

  @NaturalId
  @Column(nullable = false, unique = true)
  private String email;

  @Basic
  private String phoneNumber;

  @Basic
  @Temporal(TemporalType.DATE)
  @JsonFormat(pattern="MM-dd-yyyy")
  private Calendar dateJoined;

{'fraction_non_alphanumeric': 0.092938163190633, 'fraction_numerical': 0.0, 'mean_word_length': 5.587951807228916, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '254162', 'n_tokens_mistral': 811, 'n_tokens_neox': 792, 'n_words': 182}