/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.ejb3.test.regression;

import javax.persistence.Entity;
import javax.persistence.Version;
import javax.persistence.GeneratorType;
import javax.persistence.Id;
import javax.persistence.AccessType;
import java.util.Date;

/**
 * comment
 *
 * @author <a href="mailto:bill@jboss.org">Bill Burke</a>
 */
@Entity(access = AccessType.FIELD)
public class PersonVersion
{
    @Id(generate = GeneratorType.AUTO)
    protected Long id;
    protected String name;
    protected String address;
    protected Date birthday;
    @Version
    protected Long version;

    public PersonVersion() {
    }
}
