Skip to content
Snippets Groups Projects
user.model.ts 278 B
Newer Older
  • Learn to ignore specific revisions
  • wwwazz's avatar
    wwwazz committed
    export class User {
    	id!: number;
    	name!: string;
    	occupation!: string;
    	email!: string;
    	bio!: string;
    
    
    wwwazz's avatar
    wwwazz committed
    	constructor(name : string, occupation: string, email: string, bio: string){
    
    wwwazz's avatar
    wwwazz committed
    		this.name = name;
    		this.occupation = occupation;
    		this.email = email;
    		this.bio = bio;
    	}
    }