import 'package:deus_app/generated/json/base/json_convert_content.dart';

class UserResponseEntity with JsonConvert<UserResponseEntity> {
	late int code;
	late UserResponseData data;
	late String msg;
}

class UserResponseData with JsonConvert<UserResponseData> {
	late int id;
	late int accId;
	late String name;
	late String phone;
	late dynamic password;
	late int enable;
	late int isDelete;
	late int orgType;
	late String orgName;
	late int orgId;
	late List<UserResponseDataUserMenuList> userMenuList;
	late List<UserAppResponseDataUserMenuList> menu4AppList;
	late dynamic roleIdList;
	late List<UserResponseDataRoleList> roleList;
}

class UserResponseDataUserMenuList with JsonConvert<UserResponseDataUserMenuList> {
	late int id;
	late int pid;
	late int subCount;
	late int type;
	late String title;
	late String name;
	late String component;
	late int sort;
	late String icon;
	late String iconActive;
	late String path;
	late bool isEl;
	late bool isCache;
	late bool isHidden;
	late bool isDelete;
	late String permission;
	late String creator;
	late String createTime;
	late dynamic subMenu;
	late dynamic pname;
}

class UserAppResponseDataUserMenuList with JsonConvert<UserAppResponseDataUserMenuList> {
	late int id;
	late int pid;
	late int subCount;
	late int type;
	late String title;
	late String name;
	late String component;
	late int sort;
	late String icon;
	late String iconActive;
	late String path;
	late bool isEl;
	late bool isCache;
	late bool isHidden;
	late bool isDelete;
	late String permission;
	late String creator;
	late String createTime;
	late dynamic subMenu;
	late dynamic pname;
}

class UserResponseDataRoleList with JsonConvert<UserResponseDataRoleList> {
	late int id;
	late String name;
	late dynamic type;
	late int level;
	late String description;
	late dynamic dataScope;
	late int enable;
	late String creator;
	late String createTime;
	late dynamic menuList;
}
