<commit_before>package be.cegeka.batchers.taxcalculator.application.domain;

import org.joda.time.DateTime;
import org.joda.time.Interval;

import javax.persistence.*;

@NamedQueries({
        @NamedQuery(name = Employee.GET_ALL_NAME, query = Employee.GET_ALL_QUERY),
        @NamedQuery(name = Employee.GET_EMPLOYEES_TOTAL_TAX_NAME, query = Employee.GET_EMPLOYEES_TOTAL_TAX_QUERY)
})

@Entity
public class Employee {
    public static final String GET_ALL_NAME = "Employee.getAll";
    public static final String GET_ALL_QUERY = "SELECT e FROM Employee e";

    public static final String GET_EMPLOYEES_TOTAL_TAX_NAME = "Employee.getWithTotalTax";
    public static final String GET_EMPLOYEES_TOTAL_TAX_QUERY = "SELECT NEW be.cegeka.batchers.taxcalculator.to.EmployeeTo(e.firstName, e.lastName, e.email, e.income, sum(t.tax)) " +
            "FROM TaxCalculation t RIGHT OUTER JOIN t.employee e GROUP BY e.firstName, e.lastName, e.email, e.income";

    private Integer income;

    @Id
    @GeneratedValue
    private Long id;
    private String firstName;<commit_msg>alex, madalin: UI adaptation optimize employee<commit_after>package be.cegeka.batchers.taxcalculator.application.domain;

import org.joda.time.DateTime;
import org.joda.time.Interval;

import javax.persistence.*;

@NamedQueries({
        @NamedQuery(name = Employee.GET_ALL_NAME, query = Employee.GET_ALL_QUERY),
        @NamedQuery(name = Employee.GET_EMPLOYEES_TOTAL_TAX_NAME, query = Employee.GET_EMPLOYEES_TOTAL_TAX_QUERY)
})

@Entity
public class Employee {
    public static final String GET_ALL_NAME = "Employee.getAll";
    public static final String GET_ALL_QUERY = "SELECT e FROM Employee e";

    public static final String GET_EMPLOYEES_TOTAL_TAX_NAME = "Employee.getWithTotalTax";
    public static final String GET_EMPLOYEES_TOTAL_TAX_QUERY = "SELECT NEW be.cegeka.batchers.taxcalculator.to.EmployeeTo(e.firstName, e.lastName, e.email, e.income, sum(t.tax)) " +
            "FROM TaxCalculation t RIGHT OUTER JOIN t.employee e GROUP BY e";

    private Integer income;

    @Id
    @GeneratedValue
    private Long id;
    private String firstName;
{'fraction_non_alphanumeric': 0.08864915572232646, 'fraction_numerical': 0.0, 'mean_word_length': 4.455242966751918, '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': '4829905', 'n_tokens_mistral': 746, 'n_tokens_neox': 685, 'n_words': 161}