export type Pagination<T> = {
  result: T;
  page: number;
  pageSize: number;
  total: number;
};

export type Status = 'CREATED' | 'ACTIVE' | 'INACTIVE';

export type UpdatedBy = {
  updatedByUserId: string;
  updatedAt: string;
  createdByUserId: string;
  createdAt: string;
  statusOrder: number;
  status: string;
  birthDate: string;
  responsibleArea: string;
  trainingPlace: string;
  importNationality: string;
  sourceNationality: string;
  licenseExpireDate: string;
  licenseIssueDate: string;
  licenseNo: string;
  discountCondition: string;
  userRole: string;
  userType: string;
  checkpointEN: string;
  checkpoint: string;
  retireDate: string;
  startDate: string;
  registrationNo: string;
  telephoneNo: string;
  email: string;
  zipCode: string;
  subDistrictId: string;
  districtId: string;
  provinceId: string;
  addressEN: string;
  address: string;
  gender: string;
  username: string;
  lastNameEN: string;
  lastName: string;
  firstNameEN: string;
  firstName: string;
  code: string;
  id: string;
};

export interface CreatedBy {
  updatedByUserId: string;
  updatedAt: string;
  createdByUserId: string;
  createdAt: string;
  statusOrder: number;
  status: string;
  birthDate: string;
  responsibleArea: string;
  trainingPlace: string;
  importNationality: string;
  sourceNationality: string;
  licenseExpireDate: string;
  licenseIssueDate: string;
  licenseNo: string;
  discountCondition: string;
  userRole: string;
  userType: string;
  checkpointEN: string;
  checkpoint: string;
  retireDate: string;
  startDate: string;
  registrationNo: string;
  telephoneNo: string;
  email: string;
  zipCode: string;
  subDistrictId: string;
  districtId: string;
  provinceId: string;
  addressEN: string;
  address: string;
  gender: string;
  username: string;
  lastNameEN: string;
  lastName: string;
  firstNameEN: string;
  firstName: string;
  code: string;
  id: string;
}

export type UploadFileObject = {
  _meta?: Record<string, any>;
  name?: string;
  group?: string;
  url?: string;
  file?: File;
}[];
