import { BoxStatus } from '@/data/box/box.model';

export type Product = {
    id: number;
    partyName: string;
    boxName: string;
    cargoId: string;
    trekId: string;
    name: string;
    nameRu: string;
    amount: number;
    weight: number;
    price?: number;
    packetName: string;
    totalPrice?: number;
    status: BoxStatus;
    acceptedNumber: number;
    hasImage: boolean;
};

export type CreateProductBodyType = {
    packetId: number;
};

export type UpdateProductBodyType = {
    itemId: string | number;
    trekId: string;
    name: string;
    nameRu: string;
    amount: number;
    weight: number;
    acceptedNumber: number | null;
};
