export interface UserInterface {

    userName: string;
    userEmail: string;
}

export class User {

    public readonly userName: string;
    public readonly userEmail: string;

    constructor(newUser: UserInterface) {
        this.userName = newUser.userName;
        this.userEmail = newUser.userEmail;
    }

}