<commit_before>package ui;

import com.google.gson.Gson;

public class DragData {
	public enum Source {
		ISSUE_CARD, COLUMN
	}
	private Source source;
	private int columnIndex;
	private int issueIndex;
	
	public DragData(Source source, int col, int issue) {
		this.setSource(source);
		this.columnIndex = col;
		this.issueIndex = issue;
	}

	public int getColumnIndex() {
		return columnIndex;
	}

	public void setColumnIndex(int columnIndex) {
		this.columnIndex = columnIndex;
	}

	public int getIssueIndex() {
		return issueIndex;
	}

	public void setIssueIndex(int issueIndex) {
		this.issueIndex = issueIndex;
	}
	
	public String serialise() {
		return (new Gson()).toJson(this);
	}

	public static DragData deserialise(String json) {
		return (new Gson()).fromJson(json, DragData.class);
	}

	public Source getSource() {
		return source;
	}

	public void setSource(Source source) {
		this.source = source;
	}
}<commit_msg>Updated DragData with relevant fields<commit_after>package ui;

import model.TurboLabel;
import model.TurboMilestone;
import model.TurboUser;

import com.google.gson.Gson;

public class DragData {
	public enum Source {
		ISSUE_CARD, COLUMN, LABEL_TAB, MILESTONE_TAB, ASSIGNEE_TAB
	}
	private Source source;
	private int columnIndex;
	private int issueIndex;
	
	private String entityName;
	
	public DragData(Source source, int col, int issue) {
		this.setSource(source);
		this.columnIndex = col;
		this.issueIndex = issue;
	}

	public DragData(Source source, String name) {
		this.setSource(source);
		this.entityName = name;
	}

	public int getColumnIndex() {
		return columnIndex;
	}

	public void setColumnIndex(int columnIndex) {
		this.columnIndex = columnIndex;
	}

	public int getIssueIndex() {
		return issueIndex;
	}

	public void setIssueIndex(int issueIndex) {
		this.issueIndex = issueIndex;
	}
	
	public String serialise() {
		return (new Gson()).toJson(this);
	}

	public static DragData deserialise(String json) {
		return (new Gson()).fromJson(json, DragData.class);
	}

	public Source getSource() {
		return source;
	}

	public void setSource(Source source) {
		this.source = source;
	}

	public String getEntityName() {
		return entityName;
	}
}
{'fraction_non_alphanumeric': 0.09808394160583941, 'fraction_numerical': 0.0, 'mean_word_length': 4.297101449275362, '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': '2841566', 'n_tokens_mistral': 779, 'n_tokens_neox': 715, 'n_words': 191}