class AdvanceRequestModel {
  final String employeeId;
  final DateTime date;
  final double amount;
  final String reason;

  AdvanceRequestModel({
    required this.employeeId,
    required this.date,
    required this.amount,
    required this.reason,
  });
}

class AdvanceResponseModel {
  final int statusCode;
  final bool isSuccess;
  final String? message;
  final AdvanceDataModel? data;

  AdvanceResponseModel({
    required this.statusCode,
    required this.isSuccess,
    this.message,
    this.data,
  });
}

class AdvanceDataModel {
  final String employeeId;
  final String? employeeFullName;
  final DateTime date;
  final double amount;
  final String? submittedBy;
  final String? submittedByUser;
  final String reason;
  final int state;
  final String id;
  final DateTime? createdAt;
  final DateTime? updatedAt;
  final DateTime? deletedAt;
  final bool? isDeleted;

  AdvanceDataModel({
    required this.employeeId,
    this.employeeFullName,
    required this.date,
    required this.amount,
    this.submittedBy,
    this.submittedByUser,
    required this.reason,
    required this.state,
    required this.id,
    this.createdAt,
    this.updatedAt,
    this.deletedAt,
    this.isDeleted,
  });
}
