// Path: yodao-annotations/src/main/java/com/yoda/yodao/annotation/GenerationType.java
// public enum GenerationType { 
// 
//     /**
//      * Indicates that the persistence provider must assign 
//      * primary keys for the entity using an underlying 
//      * database table to ensure uniqueness.
//      */
//     TABLE, 
// 
//     /**
//      * Indicates that the persistence provider must assign 
//      * primary keys for the entity using database sequence column.
//      */
//     SEQUENCE, 
// 
//     /**
//      * Indicates that the persistence provider must assign 
//      * primary keys for the entity using database identity column.
//      */
//     IDENTITY, 
// 
//     /**
//      * Indicates that the persistence provider should pick an 
//      * appropriate strategy for the particular database. The 
//      * <code>AUTO</code> generation strategy may expect a database 
//      * resource to exist, or it may attempt to create one. A vendor 
//      * may provide documentation on how to create such resources 
//      * in the event that it does not support schema generation 
//      * or cannot create the schema resource at runtime.
//      */
//     AUTO,
//     
//     UUID
// }


import com.yoda.yodao.annotation.Column;
import com.yoda.yodao.annotation.Entity;
import com.yoda.yodao.annotation.GeneratedValue;
import com.yoda.yodao.annotation.GenerationType;
import com.yoda.yodao.annotation.Id;
import com.yoda.yodao.annotation.Table;
import java.io.Serializable;

package com.yoda.yodao.example.model;



/**
 * Created by lds on 2016/4/14.
 */
@Entity
@Table(name="user")
public class User implements Serializable {

    @Id

// Path: yodao-annotations/src/main/java/com/yoda/yodao/annotation/GenerationType.java
// public enum GenerationType { 
// 
//     /**
//      * Indicates that the persistence provider must assign 
//      * primary keys for the entity using an underlying 
//      * database table to ensure uniqueness.
//      */
//     TABLE, 
// 
//     /**
//      * Indicates that the persistence provider must assign 
//      * primary keys for the entity using database sequence column.
//      */
//     SEQUENCE, 
// 
//     /**
//      * Indicates that the persistence provider must assign 
//      * primary keys for the entity using database identity column.
//      */
//     IDENTITY, 
// 
//     /**
//      * Indicates that the persistence provider should pick an 
//      * appropriate strategy for the particular database. The 
//      * <code>AUTO</code> generation strategy may expect a database 
//      * resource to exist, or it may attempt to create one. A vendor 
//      * may provide documentation on how to create such resources 
//      * in the event that it does not support schema generation 
//      * or cannot create the schema resource at runtime.
//      */
//     AUTO,
//     
//     UUID
// }


// Path: yodao-examples/src/main/java/com/yoda/yodao/example/model/User.java
import com.yoda.yodao.annotation.Column;
import com.yoda.yodao.annotation.Entity;
import com.yoda.yodao.annotation.GeneratedValue;
import com.yoda.yodao.annotation.GenerationType;
import com.yoda.yodao.annotation.Id;
import com.yoda.yodao.annotation.Table;
import java.io.Serializable;

package com.yoda.yodao.example.model;



/**
 * Created by lds on 2016/4/14.
 */
@Entity
@Table(name="user")
public class User implements Serializable {

    @Id

    @GeneratedValue(strategy = GenerationType.AUTO)
