class MissionUpdateModel {
  final String loginuserID;
  final String token;
  final String userType;
  final String gorevID;
  final String gorevUserFirmId;
  final String projeId;
  final String gorevAd;
  final String gorevAciklama;
  final String gorevliler;
  final String gorevSorumlular;
  final String dbSaatbaslangic;
  final String dbSaatbitis;
  final String renkKodu;
  final String asamaId;

  MissionUpdateModel(
      {required this.loginuserID,
      required this.token,
      required this.userType,
      required this.gorevID,
      required this.gorevUserFirmId,
      required this.projeId,
      required this.gorevAd,
      required this.gorevAciklama,
      required this.gorevliler,
      required this.gorevSorumlular,
      required this.dbSaatbaslangic,
      required this.dbSaatbitis,
      required this.renkKodu,
      required this.asamaId});

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['gorev_id'] = gorevID;
    data['gorev_userfirm_id'] = gorevUserFirmId;
    data['loginuserid'] = loginuserID;
    data['token'] = token;
    data['gorev_proje_id'] = projeId;
    data['gorev_ad'] = gorevAd;
    data['gorev_aciklama'] = gorevAciklama;
    data['gorevliler'] = gorevliler;
    data['gorevsorumlular'] = gorevSorumlular;
    data['gorev_baslangic_tarihi'] = dbSaatbaslangic;
    data['gorev_bitis_tarihi'] = dbSaatbitis;
    data['gorev_durum'] = asamaId;
    data['renketiketi'] = renkKodu;
    return data;
  }
}
