Added README.txt and GPL Header to Source Files
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / database / NfcCardData.java
1 /* NfcCardData.java
2  * 
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 package de.dhbwloe.campusapp.database;
17
18 import java.util.Date;
19
20 /**
21  * Created by pk910 on 21.01.2016.
22  */
23 public class NfcCardData {
24     private int iUniqueId;
25     private long iLastUpdate;
26     private int iBalance;
27     private int iLastTransaction;
28
29     public NfcCardData(int uid, long lastupdate, int balance, int transaction) {
30         iUniqueId = uid;
31         iLastUpdate = lastupdate;
32         iBalance = balance;
33         iLastTransaction = transaction;
34     }
35
36     public int getUniqueId() {
37         return iUniqueId;
38     }
39
40     public long getLastUpdate() {
41         return iLastUpdate;
42     }
43
44     public int getBalance() {
45         return iBalance;
46     }
47
48     public int getLastTransaction() {
49         return iLastTransaction;
50     }
51
52 }