class FindOneModel { int id; int createTime; String createBy; int updateTime; String updateBy; String sessionid; int dataId; int dataTable; String userId; String pwd; String createUserId; int statuz; String userName; FindOneModel( {this.id, this.createTime, this.createBy, this.updateTime, this.updateBy, this.sessionid, this.dataId, this.dataTable, this.userId, this.pwd, this.createUserId, this.statuz, this.userName}); FindOneModel.fromJson(Map json) { id = json['id']; createTime = json['createTime']; createBy = json['createBy']; updateTime = json['updateTime']; updateBy = json['updateBy']; sessionid = json['sessionid']; dataId = json['dataId']; dataTable = json['dataTable']; userId = json['userId']; pwd = json['pwd']; createUserId = json['createUserId']; statuz = json['statuz']; userName = json['userName']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['createTime'] = this.createTime; data['createBy'] = this.createBy; data['updateTime'] = this.updateTime; data['updateBy'] = this.updateBy; data['sessionid'] = this.sessionid; data['dataId'] = this.dataId; data['dataTable'] = this.dataTable; data['userId'] = this.userId; data['pwd'] = this.pwd; data['createUserId'] = this.createUserId; data['statuz'] = this.statuz; data['userName'] = this.userName; return data; } }