package admin;
import java.util.Collection;

/**
 * A UserRecord is the information stored about a registered user of the
 * Calendar Tool.  The Name component is the user`s real-world name.  The Id is
 * the unique identifier by which the user is known to the Calendar Tool.  The
 * EmailAddress is the electronic mail address used by the Calendar Tool to
 * contact the user when necessary.  The PhoneNumber is for information
 * purposes; it is not used by the Calendar Tool for contacting the user.
 *									     <p>
 * A UserRecord is derived from <a href=
 * "../../../requirements/admin.html#User%20Database"> Section 2.6.1.1 </a> of
 * the requirements, in particular
 * "../../../requirements/admin.html#Figure%20User%20database%20dialog"> Figure
 * 61. </a>
 */
abstract class UserRecord {
    String name;
    String id;
    String email;
    PhoneNumber phone;
}

abstract class PhoneNumber {
    int area;
    int number;
}