package hoge.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.annotation.Generated;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import org.seasar.extension.jdbc.gen.internal.generator.Eee;

/**
 * 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 extends Eee implements Serializable {

    private static final long serialVersionUID = 1L;

    /** idプロパティ */
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "generator")
    @SequenceGenerator(name = "generator", initialValue = 100, allocationSize = 50)
    @Column(columnDefinition = "integer", nullable = false, unique = false)
    public int id;

    /** salプロパティ */
    @Column(columnDefinition = "decimal(15,5)", nullable = false, unique = false)
    public BigDecimal sal;
}