1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.test.document;
17
18 import org.hibernate.annotations.Type;
19 import org.kuali.rice.core.api.util.type.KualiDecimal;
20 import org.kuali.rice.core.framework.persistence.jpa.type.HibernateKualiDecimalFieldType;
21 import org.kuali.rice.krad.document.SessionDocument;
22 import org.kuali.rice.krad.document.TransactionalDocumentBase;
23
24 import javax.persistence.Column;
25 import javax.persistence.Entity;
26 import javax.persistence.Table;
27 import java.sql.Date;
28 import java.sql.Timestamp;
29
30
31
32
33
34
35 @Entity
36 @Table(name="ACCT_DD_ATTR_DOC")
37 @org.hibernate.annotations.TypeDef(
38 name="rice_decimal",
39 typeClass=HibernateKualiDecimalFieldType.class
40 )
41 public class AccountWithDDAttributesDocument extends TransactionalDocumentBase implements SessionDocument {
42 private static final long serialVersionUID = 174220131121010870L;
43
44 @Column(name="ACCT_NUM")
45 private Integer accountNumber;
46 @Column(name="ACCT_OWNR")
47 private String accountOwner;
48 @Type(type="rice_decimal")
49 @Column(name="ACCT_BAL")
50 private KualiDecimal accountBalance;
51 @Column(name="ACCT_OPN_DAT")
52 private Date accountOpenDate;
53 @Column(name="ACCT_UPDATE_DT_TM")
54 private Timestamp accountUpdateDateTime;
55 @Column(name="ACCT_STAT")
56 private String accountState;
57 @Type(type="yes_no")
58 @Column(name="ACCT_AWAKE")
59 private boolean accountAwake;
60
61 public Integer getAccountNumber() {
62 return this.accountNumber;
63 }
64
65 public void setAccountNumber(Integer accountNumber) {
66 this.accountNumber = accountNumber;
67 }
68
69 public String getAccountOwner() {
70 return this.accountOwner;
71 }
72
73 public void setAccountOwner(String accountOwner) {
74 this.accountOwner = accountOwner;
75 }
76
77 public KualiDecimal getAccountBalance() {
78 return this.accountBalance;
79 }
80
81 public void setAccountBalance(KualiDecimal accountBalance) {
82 this.accountBalance = accountBalance;
83 }
84
85 public Date getAccountOpenDate() {
86 return this.accountOpenDate;
87 }
88
89 public void setAccountOpenDate(Date accountOpenDate) {
90 this.accountOpenDate = accountOpenDate;
91 }
92
93 public String getAccountState() {
94 return this.accountState;
95 }
96
97 public void setAccountState(String accountState) {
98 this.accountState = accountState;
99 }
100
101 public String getAccountStateMultiselect() {
102 return this.accountState;
103 }
104
105
106
107
108 public Timestamp getAccountUpdateDateTime() {
109 return this.accountUpdateDateTime;
110 }
111
112
113
114
115 public void setAccountUpdateDateTime(Timestamp accountUpdateDateTime) {
116 this.accountUpdateDateTime = accountUpdateDateTime;
117 }
118
119
120
121
122 public boolean isAccountAwake() {
123 return this.accountAwake;
124 }
125
126
127
128
129 public void setAccountAwake(boolean accountAwake) {
130 this.accountAwake = accountAwake;
131 }
132
133 }