import type { PageParam } from "@/api";
import { Dayjs } from "dayjs";

export interface Accessory {
    accessoryId?: undefined;
    accessoryName?: string;
    accessoryNo?: string;
    accessoryCategory?: object;
    accessoryModel?: string;
    accessoryModelMultiple?: string[];
    accessorySpecs?: string;
    accessoryPrice?: number;
    accessoryNum?: number;
    accessoryUnit?: string;
    accessoryStock?: string;
    companyNo?: string;
    companyName?: string;
    manufactor?: string;
    manufactorNo?: string;
    accessoryWeight?: string;
    lifeYear?: number;
    factoryDate?: string;
    scrapDate?: string;
    status?: number;
    comments?: string;
    sortNumber?: number;
    userId?: number;
    deleted?: number;
    tenantId?: number;
    createTime?: string;
    updateTime?: string;
    buyDate?: string | Dayjs;
}

/**
 * 搜索条件
 */
export interface AccessoryParam extends PageParam {
    accessoryId?: number;
    accessoryName?: string;
    status?: number;
    keywords?: string;
}
