UserBean class
用户信息模型
Constructors
- UserBean({int? id, int? staffId, int? fromUserId, int? fromStaffId, int? region, int? rmId, int? createTime, int? updateTime, int? status, int? isActive, int? cc, String? mobile, String? name, String? password, String? salt, int? score, String? label, int? gender, int? age})
-
UserBean.fromJson(Map<
String, dynamic> json) -
从 JSON 创建 UserBean
factory
Properties
- age ↔ int?
-
getter/setter pair
- cc ↔ int?
-
getter/setter pair
- createTime ↔ int?
-
getter/setter pair
- fromStaffId ↔ int?
-
getter/setter pair
- fromUserId ↔ int?
-
getter/setter pair
- gender ↔ int?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- isActive ↔ int?
-
getter/setter pair
- label ↔ String?
-
getter/setter pair
- mobile ↔ String?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- password ↔ String?
-
getter/setter pair
- region ↔ int?
-
getter/setter pair
- rmId ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- salt ↔ String?
-
getter/setter pair
- score ↔ int?
-
getter/setter pair
- staffId ↔ int?
-
getter/setter pair
- status ↔ int?
-
getter/setter pair
- updateTime ↔ int?
-
getter/setter pair
Methods
-
copyWith(
{int? id, int? staffId, int? fromUserId, int? fromStaffId, int? region, int? rmId, int? createTime, int? updateTime, int? status, int? isActive, int? cc, String? mobile, String? name, String? password, String? salt, int? score, String? label, int? gender, int? age}) → UserBean - 复制并修改
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - 转换为 JSON
-
toJsonString(
) → String - 转换为 JSON 字符串
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJsonString(
String? jsonString) → UserBean? - 从 JSON 字符串创建 UserBean