/**
 * 项目：-
 * @Author: xiongwei
 * @Date: 2022-06-28 11:50:00
 */

import { BasePageParams, PageResult, ApiResponse } from './baseModel';

export interface GoodsCategoryRelationParams extends BasePageParams {
  /**
   * ID系统自动生成
   */
  id?: number;
  /**
   * ID系统自动生成 IN值List
   */
  idList?: Array<number>;
  /**
   * 商品id
   */
  goodsId?: number;
  /**
   * 商品分类id
   */
  goodsCategoryId?: number;
  /**
   * 其他参数
   */
  [key: string]: any;
}

export interface GoodsCategoryRelation {
  /**
   * ID系统自动生成
   */
  id?: number;
  /**
   * 商品id
   */
  goodsId?: number;
  /**
   * 商品分类id
   */
  goodsCategoryId?: number;
}

export type GoodsCategoryRelationPageResult = PageResult<GoodsCategoryRelation>;

export type GoodsCategoryRelationPageResponse = ApiResponse<GoodsCategoryRelationPageResult>;

export type GoodsCategoryRelationResponse = ApiResponse<GoodsCategoryRelation>;
