package hoge.entity;

import java.io.Serializable;
import java.util.Date;
import javax.annotation.Generated;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Fooエンティティクラス
 * 
 */
@Entity
@Table(catalog = "AAA", schema = "BBB")
@Generated(value = {"S2JDBC-Gen test-0.0.1", "org.seasar.extension.jdbc.gen.internal.model.EntityModelFactoryImpl"}, date = "2009/04/01 13:12:11")
public class Foo implements Serializable {

    private static final long serialVersionUID = 1L;

    /** idプロパティ */
    @Id
    @Column(columnDefinition = "integer", nullable = false, unique = false)
    public int id;

    /** dateプロパティ */
    @Temporal(TemporalType.DATE)
    @Column(columnDefinition = "date", nullable = true, unique = false)
    public Date date;

    /** timeプロパティ */
    @Temporal(TemporalType.TIME)
    @Column(columnDefinition = "time", nullable = true, unique = false)
    public Date time;

    /** timestampプロパティ */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(columnDefinition = "timestamp", nullable = true, unique = false)
    public Date timestamp;
}