56 lines
981 B
TypeScript
56 lines
981 B
TypeScript
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 收银
|
|
*/
|
|
export interface ShopCashier {
|
|
// 收银单ID
|
|
id?: string;
|
|
// 类型 0商城 1外卖
|
|
type?: number;
|
|
// 唯一标识
|
|
code?: string;
|
|
// 商品ID
|
|
goodsId?: string;
|
|
// 商品名称
|
|
name?: string;
|
|
// 商品规格
|
|
spec?: string;
|
|
// 商品价格
|
|
price?: string;
|
|
// 商品数量
|
|
cartNum?: number;
|
|
// 单商品合计
|
|
totalPrice?: string;
|
|
// 0 = 未购买 1 = 已购买
|
|
isPay?: string;
|
|
// 是否为立即购买
|
|
isNew?: string;
|
|
// 是否选中
|
|
selected?: string;
|
|
// 商户ID
|
|
merchantId?: string;
|
|
// 备注
|
|
comments?: string;
|
|
// 用户ID
|
|
userId?: string;
|
|
// 收银员ID
|
|
cashierId?: string;
|
|
// 分组取单
|
|
groupId?: string;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 收银搜索条件
|
|
*/
|
|
export interface ShopCashierParam extends PageParam {
|
|
id?: number;
|
|
keywords?: string;
|
|
}
|