update pos consumer
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import ISummary from '@/core/models/summary';
|
||||
import { UnitType } from '@/utils';
|
||||
|
||||
export interface IGoodRawResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
sku: string;
|
||||
category: ISummary;
|
||||
unit_type: UnitType;
|
||||
pricing_model: string;
|
||||
description?: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
export interface IGoodResponse extends IGoodRawResponse {}
|
||||
|
||||
export interface IGoodCategoryRawResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
goods_count: number;
|
||||
}
|
||||
export interface IGoodCategoryResponse extends IGoodCategoryRawResponse {}
|
||||
Reference in New Issue
Block a user