12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- class XieyiModel {
- int id;
- int createTime;
- String createBy;
- int updateTime;
- String updateBy;
- String name;
- String createUserId;
- String url;
- String template;
- int statuz;
- int type;
- String nickname;
- String headUrl;
- XieyiModel(
- {this.id,
- this.createTime,
- this.createBy,
- this.updateTime,
- this.updateBy,
- this.name,
- this.createUserId,
- this.url,
- this.template,
- this.statuz,
- this.type,
- this.nickname,
- this.headUrl});
- XieyiModel.fromJson(Map<String, dynamic> json) {
- id = json['id'];
- createTime = json['createTime'];
- createBy = json['createBy'];
- updateTime = json['updateTime'];
- updateBy = json['updateBy'];
- name = json['name'];
- createUserId = json['createUserId'];
- url = json['url'];
- template = json['template'];
- statuz = json['statuz'];
- type = json['type'];
- nickname = json['nickname'];
- headUrl = json['headUrl'];
- }
- Map<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- data['id'] = this.id;
- data['createTime'] = this.createTime;
- data['createBy'] = this.createBy;
- data['updateTime'] = this.updateTime;
- data['updateBy'] = this.updateBy;
- data['name'] = this.name;
- data['createUserId'] = this.createUserId;
- data['url'] = this.url;
- data['template'] = this.template;
- data['statuz'] = this.statuz;
- data['type'] = this.type;
- data['nickname'] = this.nickname;
- data['headUrl'] = this.headUrl;
- return data;
- }
- }
|