<commit_before>package gov.nih.nci.cabig.caaers.domain;

import gov.nih.nci.cabig.ctms.domain.AbstractMutableDomainObject;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.commons.lang.StringUtils;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

 
/**
 * This class represents the LabLoad domain object associated with the Adverse event report.
 * 
 * @author <NAME>
 */
@Entity
@Table(name = "labs")
@GenericGenerator(name = "id-generator", strategy = "native", parameters = { @Parameter(name = "sequence", value = "seq_labs_id") })
public class LabLoad extends AbstractMutableDomainObject {
 
	/** The name. */
	private String name;

    /** The units. */
    private String units; 

    /** The result. */
    private String result;

    /** The dismissed. */
    private boolean  dismissed;

    /** The lab date. */
    private Date labDate;
    
    /** The assignment. */
    private StudyParticipantAssignment assignment;
    
    private Date lastSynchedDate;

    // //// BEAN PROPERTIES

    public Date getLastSynchedDate() {
		return lastSynchedDate;
	}

	public void setLastSynchedDate(Date lastSynchedDate) {
		this.lastSynchedDate = lastSynchedDate;
	}

	/**
     * Gets the units.
     *
     * @return the units
     */
    public String getUnits() {
        return units;
    }

    /**<commit_msg>CAAERS-5350:Develop caAERS LabNames service - removed last synch date<commit_after>package gov.nih.nci.cabig.caaers.domain;

import gov.nih.nci.cabig.ctms.domain.AbstractMutableDomainObject;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.commons.lang.StringUtils;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

 
/**
 * This class represents the LabLoad domain object associated with the Adverse event report.
 * 
 * @author <NAME>
 */
@Entity
@Table(name = "labs")
@GenericGenerator(name = "id-generator", strategy = "native", parameters = { @Parameter(name = "sequence", value = "seq_labs_id") })
public class LabLoad extends AbstractMutableDomainObject {
 
	/** The name. */
	private String name;

    /** The units. */
    private String units; 

    /** The result. */
    private String result;

    /** The dismissed. */
    private boolean  dismissed;

    /** The lab date. */
    private Date labDate;
    
    /** The assignment. */
    private StudyParticipantAssignment assignment;

    // //// BEAN PROPERTIES

	/**
     * Gets the units.
     *
     * @return the units
     */
    public String getUnits() {
        return units;
    }

    /**
{'fraction_non_alphanumeric': 0.11401098901098901, 'fraction_numerical': 0.0013736263736263737, 'mean_word_length': 3.2901325478645065, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5110159', 'n_tokens_mistral': 890, 'n_tokens_neox': 850, 'n_words': 217}