View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-3-14 下午04:41:11
4    */
5   package gboat2.web.model;
6   
7   import gboat2.base.core.annotation.Field;
8   import gboat2.base.core.annotation.Relation;
9   import gboat2.base.core.annotation.RelationType;
10  import gboat2.base.core.annotation.Relations;
11  
12  /**
13   * 
14   * 桌面快捷方式, 资源VO
15   * @author tanxw
16   * @since jdk1.6
17   * @date 2012-3-14
18   *  
19   */
20  @Relations(base = Shortcut.class, value = { 
21  	@Relation(baseColumn = "resId", referColumn = "resId", refer = Resource.class, type = RelationType.LEFT) })
22  public class ShortcutResourceVO extends Shortcut {
23  	
24  	@Field(clazz = Resource.class)
25  	private String resName;
26  	
27  	@Field(clazz = Resource.class)
28  	private String resUrl;
29  	
30  	@Field(clazz = Resource.class)
31  	private String singleton;
32  	
33  	@Field(clazz = Resource.class)
34  	private String systemId;
35  	
36  	@Field(clazz = Resource.class)
37  	private String type;
38  
39      public String getResUrl() {
40      	return resUrl;
41      }
42  
43  	
44      public void setResUrl(String resUrl) {
45      	this.resUrl = resUrl;
46      }
47  
48  	
49      public String getSingleton() {
50      	return singleton;
51      }
52  
53  	
54      public void setSingleton(String singleton) {
55      	this.singleton = singleton;
56      }
57  
58  
59  	
60      public String getType() {
61      	return type;
62      }
63  
64  
65  	
66      public void setType(String type) {
67      	this.type = type;
68      }
69  
70  
71  	
72      public String getResName() {
73      	return resName;
74      }
75  
76  
77  	
78      public void setResName(String resName) {
79      	this.resName = resName;
80      }
81  
82  
83  	
84      public String getSystemId() {
85      	return systemId;
86      }
87  
88  
89  	
90      public void setSystemId(String systemId) {
91      	this.systemId = systemId;
92      }
93  }