View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krad.bo;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.Id;
21  import javax.persistence.Table;
22  
23  import org.kuali.rice.core.api.util.type.KualiPercent;
24  
25  /**
26   * Copied from sample app for testing
27   */
28  @Entity
29  @Table(name = "TRV_ACCT_USE_RT_T")
30  public class TravelAccountUseRate extends InactivatableFromToImpl {
31  	private static final long serialVersionUID = 7433417595650091555L;
32  
33  	@Id
34  	private String id;
35  
36  	@Column(name = "ACCT_NUM")
37  	private String number;
38  
39  	private KualiPercent rate;
40  
41  	public TravelAccountUseRate() {
42  		super();
43  	}
44  
45  	public String getId() {
46  		return this.id;
47  	}
48  
49  	public void setId(String id) {
50  		this.id = id;
51  	}
52  
53  	public String getNumber() {
54  		return this.number;
55  	}
56  
57  	public void setNumber(String number) {
58  		this.number = number;
59  	}
60  
61  	public KualiPercent getRate() {
62  		return this.rate;
63  	}
64  
65  	public void setRate(KualiPercent rate) {
66  		this.rate = rate;
67  	}
68  }