- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
46 lines
1.1 KiB
TypeScript
46 lines
1.1 KiB
TypeScript
import { SupplierProduct } from './supplier-product.entity';
|
|
import { SupplierOrder } from './supplier-order.entity';
|
|
import { SupplierReview } from './supplier-review.entity';
|
|
export declare enum SupplierStatus {
|
|
PENDING = "pending",
|
|
ACTIVE = "active",
|
|
SUSPENDED = "suspended",
|
|
INACTIVE = "inactive"
|
|
}
|
|
export declare class Supplier {
|
|
id: string;
|
|
name: string;
|
|
legalName: string;
|
|
rfc: string;
|
|
categories: string[];
|
|
coverageZones: string[];
|
|
contactName: string;
|
|
contactPhone: string;
|
|
contactEmail: string;
|
|
contactWhatsapp: string;
|
|
address: string;
|
|
city: string;
|
|
state: string;
|
|
zipCode: string;
|
|
logoUrl: string;
|
|
bannerUrl: string;
|
|
description: string;
|
|
minOrderAmount: number;
|
|
deliveryFee: number;
|
|
freeDeliveryMin: number;
|
|
deliveryDays: string[];
|
|
leadTimeDays: number;
|
|
verified: boolean;
|
|
verifiedAt: Date;
|
|
rating: number;
|
|
totalReviews: number;
|
|
totalOrders: number;
|
|
status: SupplierStatus;
|
|
userId: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
products: SupplierProduct[];
|
|
orders: SupplierOrder[];
|
|
reviews: SupplierReview[];
|
|
}
|