import { AbstractUser } from "./abstract-user.model";
import { Role } from "./role.model";

export class User extends AbstractUser{

    id: number;
    active: Boolean;
    role: Role;

    constructor(id: number, email: String, active: Boolean, firstName: String, lastName: String, company: String, position: String, role: Role){
        super(email, firstName, lastName, company, position);
        this.id = id;
        this.active = active;
        this.role = role;
    }    
    
}