1 package gboat2.attachment.model;
2
3
4
5
6
7
8 import gboat2.base.core.annotation.Field;
9 import gboat2.base.core.annotation.Relation;
10 import gboat2.base.core.annotation.RelationType;
11 import gboat2.base.core.annotation.Relations;
12
13
14
15
16
17
18
19
20
21
22
23 @Relations(base = Attachment.class, value = {
24 @Relation(refer = AttachConfig.class, referColumn = "configId", baseColumn = "configId", type = RelationType.LEFT)})
25 public class AttachmentVO extends Attachment{
26
27 private static final long serialVersionUID = 1L;
28
29
30 @Field(clazz = AttachConfig.class, column = "attachType" )
31 private String configAttachType;
32
33 @Field(clazz = AttachConfig.class )
34 private float attachOrder;
35
36
37 public String getConfigAttachType() {
38 return configAttachType;
39 }
40
41 public void setConfigAttachType(String attachType) {
42 this.configAttachType = attachType;
43 }
44
45 public float getAttachOrder() {
46 return attachOrder;
47 }
48
49 public void setAttachOrder(float attachOrder) {
50 this.attachOrder = attachOrder;
51 }
52
53
54
55 }