class AddTaskModel {
  final String loginuserID;
  final String token;
  final String gorevUserFirmId;
  final String gorevliler;
  final String ekgorevliler;
  final String bagliGorevId;
  final String bagliProjeId;
  final String ekGorevAd;
  final String ekGorevAciklama;
  final String dbSaatbaslangic;
  final String dbSaatbitis;

  AddTaskModel(
      {required this.loginuserID,
      required this.token,
      required this.gorevUserFirmId,
      required this.gorevliler,
      required this.ekgorevliler,
      required this.bagliGorevId,
      required this.bagliProjeId,
      required this.ekGorevAd,
      required this.ekGorevAciklama,
      required this.dbSaatbaslangic,
      required this.dbSaatbitis});

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['loginuserid'] = loginuserID;
    data['token'] = token;
    data['gorev_userfirm_id'] = gorevUserFirmId;
    data['gorevliler'] = gorevliler;
    data['ek_gorevliler'] = ekgorevliler;
    data['bagli_gorev_id'] = bagliGorevId;
    data['gorev_proje_id'] = bagliProjeId;
    data['gorev_ad'] = ekGorevAd;
    data['gorev_aciklama'] = ekGorevAciklama;
    data['gorev_baslangic_tarihi'] = dbSaatbaslangic;
    data['gorev_bitis_tarihi'] = dbSaatbitis;

    return data;
  }
}
