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'; import 'package:angel_framework/common.dart';
class User extends Model { class User extends Model {
@override
String id;
String email, username, password, salt; String email, username, password, salt;
List<String> roles; @override
DateTime createdAt, updatedAt;
User( User(
{String id, {this.id,
this.email, this.email,
this.username, this.username,
this.password, this.password,
this.salt, this.salt,
this.roles: const []}) { this.createdAt,
this.id = id; this.updatedAt});
}
} }