From cdb67181ab05fa0784ded81dcdf991778f467f88 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Mon, 10 Apr 2017 09:51:03 -0400 Subject: [PATCH] Update user.dart --- lib/src/models/user.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/src/models/user.dart b/lib/src/models/user.dart index 4318c49..bf97c1d 100644 --- a/lib/src/models/user.dart +++ b/lib/src/models/user.dart @@ -3,16 +3,18 @@ library angel.models.user; import 'package:angel_framework/common.dart'; class User extends Model { + @override + String id; String email, username, password, salt; - List roles; + @override + DateTime createdAt, updatedAt; User( - {String id, + {this.id, this.email, this.username, this.password, this.salt, - this.roles: const []}) { - this.id = id; - } + this.createdAt, + this.updatedAt}); }