1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.test.document.bo;
17
18 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
19 import org.kuali.rice.krad.data.provider.annotation.Label;
20
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.Table;
25
26 @Entity
27 @Table(name="TRV_SUB_ACCT")
28 public class SubAccount extends PersistableBusinessObjectBase {
29 private static final long serialVersionUID = 1L;
30
31 @Id
32 @Column(name="sub_acct",length=10)
33 private String subAccount;
34
35 @Column(name="sub_acct_name",length=40)
36 private String subAccountName;
37
38 @Column(name="acct_num",length=10)
39 private String accountNumber;
40
41 public SubAccount() {}
42
43 public SubAccount(String subAccount, String subAccountName) {
44 super();
45 this.subAccount = subAccount;
46 this.subAccountName = subAccountName;
47 }
48
49 public String getSubAccount() {
50 return this.subAccount;
51 }
52
53 public void setSubAccount(String subAccount) {
54 this.subAccount = subAccount;
55 }
56
57 public String getSubAccountName() {
58 return this.subAccountName;
59 }
60
61 public void setSubAccountName(String subAccountName) {
62 this.subAccountName = subAccountName;
63 }
64
65 public String getAccountNumber() {
66 return accountNumber;
67 }
68
69 public void setAccountNumber(String accountNumber) {
70 this.accountNumber = accountNumber;
71 }
72
73 }