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

export type Product = {
    id: number;
    partyName: string;
    boxName: string;
    cargoId: string;
    trekId: string;
    name: string;
    amount: number;
    weight: number;
    price?: number;
    totalPrice?: number;
    status: BoxStatus;

    hasImage: boolean;
};

export type CreateProductBodyType = {
    packetId: number;
};

export type UpdateProductBodyType = {
    itemId: number;

    cargoId: string;
    trekId: string;
    name: string;
    amount: number;
    weight: number;
};
