| 12345678910111213141516171819202122232425262728293031323334353637 |
- import 'package:json_annotation/json_annotation.dart';
- part 'role_model.g.dart';
- @JsonSerializable()
- class RoleModel {
- int? roleId;
- String? roleName;
- String? roleKey;
- int? roleSort;
- String? dataScope;
- bool? menuCheckStrictly;
- bool? orgCheckStrictly;
- String? status;
- String? createTime;
- bool? flag;
- bool? superAdmin;
- RoleModel({
- this.roleId,
- this.roleName,
- this.roleKey,
- this.roleSort,
- this.dataScope,
- this.menuCheckStrictly,
- this.orgCheckStrictly,
- this.status,
- this.createTime,
- this.flag,
- this.superAdmin,
- });
- factory RoleModel.fromJson(Map<String, dynamic> json) =>
- _$RoleModelFromJson(json);
- Map<String, dynamic> toJson() => _$RoleModelToJson(this);
- }
|