Update user.dart

This commit is contained in:
Tobe O 2017-04-10 09:51:03 -04:00 committed by GitHub
parent ef589c4678
commit cdb67181ab

View file

@ -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<String> 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});
}