export interface Certificate {
  id: string;
  name: string;
  type: CertificateType;
  status: CertificateStatus;
  fileUrl: string;
  fileName: string;
  uploadDate: string;
  expiryDate: string;
  approvedBy?: string;
  approvedDate?: string;
  productId?: string;
  productName?: string;
  notes?: string;
}

export interface CertificateQueryParams {
  status?: string;
  type?: string;
  keyword?: string;
  productId?: string;
  page?: number;
  pageSize?: number;
}

export enum CertificateType {
  PRODUCT_CERT = 'PRODUCT_CERT',
  BUSINESS_LICENSE = 'BUSINESS_LICENSE',
  SAFETY_CERT = 'SAFETY_CERT',
  QUALITY_CERT = 'QUALITY_CERT',
  OTHER = 'OTHER'
}

export enum CertificateStatus {
  APPROVED = 'APPROVED',
  PENDING = 'PENDING',
  REJECTED = 'REJECTED',
  EXPIRED = 'EXPIRED'
}
