1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.travel.bo;
17
18 import java.util.LinkedHashMap;
19
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.Id;
23 import javax.persistence.Table;
24
25 import org.kuali.rice.kns.bo.InactivatableFromToImpl;
26 import org.kuali.rice.kns.util.KualiPercent;
27
28 @Entity
29 @Table(name = "TRV_ACCT_USE_RT")
30 public class TravelAccountUseRate extends InactivatableFromToImpl {
31
32 @Id
33 @Column(name = "id")
34 private String id;
35
36 @Column(name = "acct_num")
37 private String number;
38
39 @Column(name = "rate")
40 private KualiPercent rate;
41
42 public TravelAccountUseRate() {
43 super();
44 }
45
46 public String getId() {
47 return this.id;
48 }
49
50 public void setId(String id) {
51 this.id = id;
52 }
53
54 public String getNumber() {
55 return this.number;
56 }
57
58 public void setNumber(String number) {
59 this.number = number;
60 }
61
62 public KualiPercent getRate() {
63 return this.rate;
64 }
65
66 public void setRate(KualiPercent rate) {
67 this.rate = rate;
68 }
69
70 @Override
71 protected LinkedHashMap toStringMapper() {
72 LinkedHashMap propMap = new LinkedHashMap();
73 propMap.put("id", getId());
74 return propMap;
75 }
76
77 }