mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
add_user_dialog
This commit is contained in:
22
lib/pages/roles_and_permission/model/role_type_model.dart
Normal file
22
lib/pages/roles_and_permission/model/role_type_model.dart
Normal file
@ -0,0 +1,22 @@
|
||||
class RoleTypeModel {
|
||||
final String uuid;
|
||||
final String createdAt;
|
||||
final String updatedAt;
|
||||
final String type;
|
||||
|
||||
RoleTypeModel({
|
||||
required this.uuid,
|
||||
required this.createdAt,
|
||||
required this.updatedAt,
|
||||
required this.type,
|
||||
});
|
||||
|
||||
factory RoleTypeModel.fromJson(Map<String, dynamic> json) {
|
||||
return RoleTypeModel(
|
||||
uuid: json['uuid'],
|
||||
createdAt: json['createdAt'],
|
||||
updatedAt: json['updatedAt'],
|
||||
type: json['type'],
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user