feat(qcInspectionItemCategory): 添加分类的父级ID和祖级列表字段

- 在 QcInspectionItemCategoryVO 接口中添加 parentId 和 ancestors 字段
- 在 QcInspectionItemCategoryForm 接口中添加 parentId 和 ancestors 字段
- 在 QcInspectionItemCategoryQuery 接口中添加 parentId 和 ancestors 字段
- 为 typeName 和 qcInspectionType 字段添加可选标记
- 在 QcInspectionItemCategoryVO 接口中添加 children 字段,用于表示子对象
master
zch 1 week ago
parent 9580957610
commit cdbb523832

@ -4,6 +4,16 @@ export interface QcInspectionItemCategoryVO {
*/
categoryId: string | number;
/**
* ID
*/
parentId: string | number;
/**
*
*/
ancestors: string;
/**
*
*/
@ -27,13 +37,17 @@ export interface QcInspectionItemCategoryVO {
/**
*
*/
qcInspectionType: string;
qcInspectionType?: string;
/**
* (
*/
typeName: string | number;
typeName?: string | number;
/**
*
*/
children: QcInspectionItemCategoryVO[];
}
export interface QcInspectionItemCategoryForm extends BaseEntity {
@ -42,6 +56,16 @@ export interface QcInspectionItemCategoryForm extends BaseEntity {
*/
categoryId?: string | number;
/**
* ID
*/
parentId?: string | number;
/**
*
*/
ancestors?: string;
/**
*
*/
@ -74,13 +98,23 @@ export interface QcInspectionItemCategoryForm extends BaseEntity {
}
export interface QcInspectionItemCategoryQuery extends PageQuery {
export interface QcInspectionItemCategoryQuery {
/**
*
*/
categoryId?: string | number;
/**
* ID
*/
parentId?: string | number;
/**
*
*/
ancestors?: string;
/**
*
*/

Loading…
Cancel
Save