feat: add attributes to each product in service

This commit is contained in:
Methapon Metanipat 2024-10-25 16:26:12 +07:00
parent 02e17fcde4
commit f5df3332b5
2 changed files with 5 additions and 2 deletions

View file

@ -69,6 +69,7 @@ type ServiceCreate = {
* @isInt
*/
installmentNo?: number;
attributes?: { [key: string]: any };
}[];
attributes?: { [key: string]: any };
}[];
@ -83,7 +84,7 @@ type ServiceUpdate = {
attributes?: {
[key: string]: any;
};
/*
/**
* @isInt
*/
installments?: number;
@ -93,10 +94,11 @@ type ServiceUpdate = {
name: string;
product: {
id: string;
/*
/**
* @isInt
*/
installmentNo?: number;
attributes?: { [key: string]: any };
}[];
attributes?: { [key: string]: any };
}[];