@@ -0,0 +1,1111 @@
+package terminal;%0D%0A%0D%0Apublic class Card %7B%0D%0A%09int id;%0D%0A%09int customerID; %0D%0A%09String customerName;%0D%0A%09int kilometers;%0D%0A%09long expiration;%0D%0A%09int revocation;%0D%0A%09byte%5B%5D cardPublicKey;%0D%0A%09%0D%0A%09public Card()%7B%0D%0A%09%09%0D%0A%09%7D%0D%0A%09%0D%0A%09public Card(int ID, int custID, String custName, int km, long exp, %0D%0A%09%09%09int revoke, byte%5B%5D cardPK)%7B%0D%0A%09%09this.id = ID;%0D%0A%09%09this.customerID = custID;%0D%0A%09%09this.customerName = custName;%0D%0A%09%09this.kilometers = km;%0D%0A%09%09this.expiration = exp;%0D%0A%09%09this.revocation = revoke;%0D%0A%09%09this.cardPublicKey = cardPK;%0D%0A%09%7D%0D%0A%09%0D%0A%09public void setKilometers(int kmNew)%7B%0D%0A%09%09this.kilometers = kmNew;%0D%0A%09%7D%0D%0A%09%0D%0A%09public void setExpiration(long expNew)%7B%0D%0A%09%09this.expiration = expNew;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getID()%7B%0D%0A%09%09return this.id;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getCustomerID()%7B%0D%0A%09%09return this.customerID;%0D%0A%09%7D%0D%0A%09%0D%0A%09public String getCustomerName()%7B%0D%0A%09%09return this.customerName;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getKilometers()%7B%0D%0A%09%09return this.kilometers;%0D%0A%09%7D%0D%0A%09%0D%0A%09public long getExpDate()%7B%0D%0A%09%09return this.expiration;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getRevocationStates()%7B%0D%0A%09%09return this.revocation;%0D%0A%09%7D%0D%0A%09public byte%5B%5D getCardPublicKey()%7B%0D%0A%09%09return this.cardPublicKey;%0D%0A%09%7D%0D%0A%09%0D%0A%0D%0A%7D%0D%0A

add card class to store card data from db