001/**
002 * Copyright 2005-2016 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package edu.sampleu.travel.bo;
017
018import org.kuali.rice.core.api.util.type.KualiPercent;
019import org.kuali.rice.krad.bo.InactivatableFromToImpl;
020
021import javax.persistence.Column;
022import javax.persistence.Entity;
023import javax.persistence.Id;
024import javax.persistence.Table;
025
026@Entity
027@Table(name = "TRV_ACCT_USE_RT")
028public class TravelAccountUseRate extends InactivatableFromToImpl {
029        private static final long serialVersionUID = 7433417595650091555L;
030
031        @Id
032        @Column(name = "id")
033        private String id;
034
035        @Column(name = "acct_num")
036        private String number;
037
038        @Column(name = "rate")
039        private KualiPercent rate;
040
041        public TravelAccountUseRate() {
042                super();
043        }
044
045        public String getId() {
046                return this.id;
047        }
048
049        public void setId(String id) {
050                this.id = id;
051        }
052
053        public String getNumber() {
054                return this.number;
055        }
056
057        public void setNumber(String number) {
058                this.number = number;
059        }
060
061        public KualiPercent getRate() {
062                return this.rate;
063        }
064
065        public void setRate(KualiPercent rate) {
066                this.rate = rate;
067        }
068}