<commit_before>package classes;

import java.math.BigInteger;
import java.security.MessageDigest;

import javax.persistence.*;
/**
 * 
 * @author Brandon AND ONLY BRANDON!
 *
 */
//@Entity
public class Person
{
	//This should be the hashed value of the person's key
//	@Id
//	@GeneratedValue(strategy = GenerationType.IDENTITY)
//	protected Long id;
	
	private String netID;
	//Can take these 2 strings and put them into 1 and delimit
	private String firstName;
	private String lastName;
	
	//Instance variables are pretty obvious
	private String password;

	public Person(String netID, String password, String firstName, String lastName)
	{
		this.netID = netID;
		this.password = password;
		this.firstName = firstName;
		this.lastName = lastName;
		//id = hash(netID);
	}
	
	public Person(String netID, String firstName, String lastName, String password, String major, String advisor, String position)
	{
		this.setNetID(netID);
		this.firstName = firstName;
		this.lastName = lastName;
		this.password = password;
		//id = hash(netID);
	}
	
	public String getFirstName() <commit_msg>Now this acts as a super class<commit_after>package classes;

import java.math.BigInteger;
import java.security.MessageDigest;

import javax.persistence.*;
/**
 * 
 * @author Brandon AND ONLY BRANDON!
 *
 */
@Entity(name="Person")
@Inheritance
@MappedSuperclass
@DiscriminatorColumn(name="PersonType")
public class Person
{
	//This should be the hashed value of the person's key
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	protected Long id;
	
	private String netID;
	//Can take these 2 strings and put them into 1 and delimit
	private String firstName;
	private String lastName;
	
	//Instance variables are pretty obvious
	private String password;

	public Person(String netID, String password, String firstName, String lastName)
	{
		this.netID = netID;
		this.password = password;
		this.firstName = firstName;
		this.lastName = lastName;
		id = hash(netID);
	}
	
	public Person(String netID, String firstName, String lastName, String password, String major, String advisor, String position)
	{
		this.setNetID(netID);
		this.firstName = firstName;
		this.lastName = lastName;
		this.password = password;
		id = hash(netID);
	}
	
	public String getFirstName() 
{'fraction_non_alphanumeric': 0.09580573951434879, 'fraction_numerical': 0.0017660044150110375, 'mean_word_length': 4.269767441860465, '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': '6811726', 'n_tokens_mistral': 739, 'n_tokens_neox': 685, 'n_words': 225}