/*
 * The MIT License
 *
 * Copyright 2016 sopaetzel.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package de.lebk.verein.member;

import de.lebk.verein.lease.Lease;

import java.util.GregorianCalendar;
import java.util.List;

/**
 *
 * @author raddatz
 * @date 15.12.2016
 */
public class Member {

    private String firstName;
    private String lastName;
    private String password;
    private String usernam;
    private char sex;
    private GregorianCalendar entered;
    private List<Lease> leases;

    public Member(String firstName, String lastName, String password, String usernam, char sex,
            GregorianCalendar entered) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.password = password;
        this.usernam = usernam;
        this.sex = sex;
        this.entered = entered;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsernam() {
        return usernam;
    }

    public void setUsernam(String usernam) {
        this.usernam = usernam;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public GregorianCalendar getEntered() {
        return entered;
    }

    public void setEntered(GregorianCalendar entered) {
        this.entered = entered;
    }

    public List<Lease> getLeases() {
        return leases;
    }

    public void setLeases(List<Lease> leases) {
        this.leases = leases;
    }
}

@@ -1437,24 +1437,25 @@
 ring usernam
+e
 ;%0A    privat
@@ -1791,32 +1791,33 @@
     this.usernam
+e
  = usernam;%0A    
@@ -2371,16 +2371,17 @@
 tUsernam
+e
 () %7B%0A   
@@ -2391,32 +2391,33 @@
   return usernam
+e
 ;%0A    %7D%0A%0A    pub
@@ -2435,16 +2435,17 @@
 tUsernam
+e
 (String 
@@ -2451,16 +2451,17 @@
  usernam
+e
 ) %7B%0A    
@@ -2476,16 +2476,17 @@
 .usernam
+e
  = usern
@@ -2483,24 +2483,25 @@
 me = usernam
+e
 ;%0A    %7D%0A%0A   

renamed usernam to username