/*
 * @Author: XianKaiQun
 * @Date: 2020-04-21 10:17:12
 * @LastEditors: XianKaiQun
 * @LastEditTime: 2020-04-21 10:17:34
 * @Descripttion: 
 */
///登录接口model
class LoginModel {
  String? id;
  String? account;
  String? entCode;
  String? entName;
  String? name;
  String? imgUrl;
  String? positionName;

  LoginModel({
    this.id,
    this.account,
    this.entCode,
    this.entName,
    this.name,
    this.imgUrl,
    this.positionName,
  });

  LoginModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    account = json['account'];
    entCode = json['entCode'];
    entName = json['entName'];
    name = json['name'];
    imgUrl = json['imgUrl'];
    positionName = json['positionName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> json = Map<String, dynamic>();

    json['id'] = this.id;
    json['account'] = this.account;
    json['entCode'] = this.entCode;
    json['entName'] = this.entName;
    json['name'] = this.name;
    json['imgUrl'] = this.imgUrl;
    json['positionName'] = this.positionName;

    return json;
  }
}
