
class TeamAuthItem {

  String id;
  String mtCompanyId;
  String attestationName;
  String contactsName;
  String contactsTel;
  int isCertificated;//认证状态 0 未认证 1 已认证 2 审核中 3 认证失败
  Object checkFeedBack;
  String businessLicenseAnnex;
  String taxRegistration;
  Object provinceCode;
  String createTime;
  String createUser;
  String dealTime;
  String logoImg;
  int sourceType;
  String remarks;
  String customerManagerId;

  TeamAuthItem(
      {this.id,
        this.mtCompanyId,
        this.attestationName="",
        this.contactsName="",
        this.contactsTel="",
        this.isCertificated=0,
        this.checkFeedBack,
        this.businessLicenseAnnex="",
        this.taxRegistration="",
        this.provinceCode,
        this.createTime,
        this.createUser,
        this.dealTime,
        this.logoImg = "",
        this.sourceType,
        this.remarks,
        this.customerManagerId});

  TeamAuthItem.fromJsonMap(Map<String, dynamic> map):
        id = map["id"],
        mtCompanyId = map["mtCompanyId"],
        attestationName = map["attestationName"]??'',
        contactsName = map["contactsName"]??'',
        contactsTel = map["contactsTel"]??'',
        isCertificated = map["isCertificated"],
        checkFeedBack = map["checkFeedBack"],
        businessLicenseAnnex = map["businessLicenseAnnex"],
        taxRegistration = map["taxRegistration"],
        provinceCode = map["provinceCode"],
        createTime = map["createTime"],
        createUser = map["createUser"],
        dealTime = map["dealTime"],
        logoImg = map["logoImg"],
        sourceType = map["sourceType"],
        remarks = map["remarks"],
        customerManagerId = map["customerManagerId"];

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = id;
    data['mtCompanyId'] = mtCompanyId;
    data['attestationName'] = attestationName;
    data['contactsName'] = contactsName;
    data['contactsTel'] = contactsTel;
    data['isCertificated'] = isCertificated;
    data['checkFeedBack'] = checkFeedBack;
    data['businessLicenseAnnex'] = businessLicenseAnnex;
    data['taxRegistration'] = taxRegistration;
    data['provinceCode'] = provinceCode;
    data['createTime'] = createTime;
    data['createUser'] = createUser;
    data['dealTime'] = dealTime;
    data['logoImg'] = logoImg;
    data['sourceType'] = sourceType;
    data['remarks'] = remarks;
    data['customerManagerId'] = customerManagerId;
    return data;
  }
}
