初始化
This commit is contained in:
35
api/shop/goodsCoupon/model/index.ts
Normal file
35
api/shop/goodsCoupon/model/index.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 商品优惠券表
|
||||
*/
|
||||
export interface GoodsCoupon {
|
||||
//
|
||||
id?: undefined,
|
||||
// 商品id
|
||||
goodsId?: undefined,
|
||||
// 优惠劵id
|
||||
issueCouponId?: undefined,
|
||||
// 排序(数字越小越靠前)
|
||||
sortNumber?: undefined,
|
||||
// 状态, 0正常, 1冻结
|
||||
status?: number;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 用户ID
|
||||
userId?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 注册时间
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品优惠券表搜索条件
|
||||
*/
|
||||
export interface GoodsCouponParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user