View Javadoc
1   /**
2    * Copyright 2005-2016 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 edu.sampleu.travel.bo;
17  
18  import org.kuali.rice.core.api.util.type.KualiPercent;
19  import org.kuali.rice.krad.bo.InactivatableFromToImpl;
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_ACCT_USE_RT")
28  public class TravelAccountUseRate extends InactivatableFromToImpl {
29  	private static final long serialVersionUID = 7433417595650091555L;
30  
31  	@Id
32  	@Column(name = "id")
33  	private String id;
34  
35  	@Column(name = "acct_num")
36  	private String number;
37  
38  	@Column(name = "rate")
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  }