KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > demo > drupal > persistence > Permission


1 package demo.drupal.persistence;
2
3 import javax.persistence.Table;
4
5 // XXX: no primary key @Entity
6
@Table(name="permission")
7 public class Permission {
8   /**
9    * CREATE TABLE `permission` (
10    * `rid` int(10) unsigned NOT NULL default '0',
11    * `perm` longtext,
12    * `tid` int(10) unsigned NOT NULL default '0',
13    * KEY `rid` (`rid`)
14    * );
15    */

16
17   private int rid;
18   private String JavaDoc perm;
19   private int tid;
20 }
21
22
Popular Tags