class MissionEmployeeNote {
  String? isGorevId;
  String? isUserFirmId;
  String? isUserId;
  String? isCalisma;
  String? isGirilmeTarihi;
  String? userName;
  String? userImage;

  MissionEmployeeNote(
      {this.isGorevId,
      this.isUserFirmId,
      this.isUserId,
      this.isCalisma,
      this.isGirilmeTarihi,
      this.userName,
      this.userImage});

  MissionEmployeeNote.fromJson(Map<String, dynamic> json) {
    isGorevId = json['is_gorev_id'];
    isUserFirmId = json['is_userfirm_id'];
    isUserId = json['is_user_id'];
    isCalisma = json['is_calisma'];
    isGirilmeTarihi = json['is_girilme_tarihi'];
    userName = json['user_name'];
    userImage = json['image'] ?? "buresimyok.jpg";
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['is_gorev_id'] = isGorevId;
    data['is_userfirm_id'] = isUserFirmId;
    data['is_user_id'] = isUserId;
    data['is_calisma'] = isCalisma;
    data['is_girilme_tarihi'] = isGirilmeTarihi;
    data['user_name'] = userName;
    data['image'] = userImage;
    return data;
  }
}
