Back to project page dbpersian.
The source code is released under:
MIT License
If you think the Android project dbpersian listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * DbPersian (DataBase PERSistence ANnotations) */// ww w . j av a 2s .c o m package net.dbpersian.annotations.db; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.SOURCE) public @interface DbColumn { String sqlName(); String indexName() default ""; boolean primaryKey() default false; boolean unique() default false; boolean notNull() default false; String fkTable() default ""; String fkColumn() default ""; boolean serializable() default false; }