Add employee code assignment function
This commit is contained in:
@@ -74,6 +74,7 @@ export interface ApiResponse<T> {
|
||||
export interface DashboardStats {
|
||||
totalCompanies: number;
|
||||
totalSerials: number;
|
||||
totalEmployeeSerials: number;
|
||||
activeSerials: number;
|
||||
inactiveSerials: number;
|
||||
monthlyData: Array<{
|
||||
@@ -88,4 +89,32 @@ export interface DashboardStats {
|
||||
export interface CompanyFilter {
|
||||
search?: string;
|
||||
status?: 'all' | 'active' | 'expired';
|
||||
}
|
||||
|
||||
export interface EmployeeSerial {
|
||||
serialNumber: string;
|
||||
companyName: string;
|
||||
department: string;
|
||||
employeeName: string;
|
||||
isActive: boolean;
|
||||
createdAt: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
|
||||
export interface EmployeeSerialFilter {
|
||||
search?: string;
|
||||
page?: number;
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
export interface EmployeeSerialPagination {
|
||||
page: number;
|
||||
limit: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
}
|
||||
|
||||
export interface EmployeeSerialResponse {
|
||||
data: EmployeeSerial[];
|
||||
pagination: EmployeeSerialPagination;
|
||||
}
|
||||
Reference in New Issue
Block a user