import { type Base, genBase } from "./_base" export interface ItemPrice extends Base { item_id: number price: number insuranceCompany_code: string } export interface CreateDto { item_id: number price: number insuranceCompany_code: string } export interface GetListDto { page: number size: number name?: string code?: string } export interface GetDetailDto { id?: string } export interface UpdateDto extends CreateDto { id?: number } export interface DeleteDto { id?: string } export function genItemPrice(): ItemPrice { return { ...genBase(), item_id: 1, price: 1, insuranceCompany_code: 'test', } }