23 lines
1.0 KiB
Dart
23 lines
1.0 KiB
Dart
class ApiEndpoints {
|
|
static const String baseUrl = "https://stageapi.marcoaiot.com/api";
|
|
|
|
// Attendance Screen API Endpoints
|
|
static const String getProjects = "/project/list";
|
|
static const String getEmployeesByProject = "/attendance/project/team";
|
|
static const String getAttendanceLogs = "/attendance/project/log";
|
|
static const String getAttendanceLogView = "/attendance/log/attendance";
|
|
static const String getRegularizationLogs = "/attendance/regularize";
|
|
static const String uploadAttendanceImage = "/attendance/record-image";
|
|
|
|
// Employee Screen API Endpoints
|
|
static const String getAllEmployeesByProject = "/Project/employees/get";
|
|
static const String getAllEmployees = "/employee/list";
|
|
static const String getRoles = "/roles/jobrole";
|
|
static const String createEmployee = "/employee/manage-mobile";
|
|
|
|
// Daily Task Screen API Endpoints
|
|
static const String getDailyTask = "/task/list";
|
|
static const String reportTask = "/task/report";
|
|
static const String commentTask = "task/comment";
|
|
}
|