// ignore_for_file: file_names

class MyNotification {
  int id;
  int companyId;
  int jobSeekerId;
  String details;
  String name;
  String date;
  String image;
  bool toCompany;

  MyNotification(
      {required this.id,
      required this.companyId,
      required this.jobSeekerId,
      required this.details,
      required this.date,
      required this.toCompany,
      required this.image,
      required this.name});

  factory MyNotification.fromJson(Map<String, dynamic> json) {
    return MyNotification(
        id: json['id'],
        companyId: json['companyId'],
        jobSeekerId: json['jobSeekerId'],
        details: json['details'],
        date: json['date'],
        image: json['image'],
        toCompany: json['toCompany'],
        name: json['name']);
  }
}
