/*
 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
 
package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype;

import javax.persistence.*;
import java.sql.Date;

/*
 * FullTimeEmployee entity extends an MappedSuperClass while overriding
 * mapping information.
 */

@Entity()
@Table(name="EMPLOYEE")

public class FullTimeEmployee extends Employee {

    private float salary;

    public FullTimeEmployee() {
    }

   // ===========================================================
   // getters and setters for the state fields

    @Column(name="SALARY")
    public float getSalary() {
        return salary;
    }
    public void setSalary(float salary) {
        this.salary = salary;
    }
    
}
