package net.heartshield.data;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Meta-data on the user.
 *
 * @author David Madl (git@abanbytes.eu)
 * @date 2016-04-07
 */
public class UserMeta implements Serializable {
    public int age;
    public Gender gender;
    public Double height;
    public String email;
    public Boolean notifyBeta;

    public UserMeta(int age, Gender gender, Double height) {
        this.age = age;
        this.gender = gender;
        this.height = height;
    }

    public enum Gender {
        @SerializedName("female")
        FEMALE,
        @SerializedName("male")
        MALE
    }
}
