@peabody-soft/mbs-protos 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Item.proto +5 -3
- package/package.json +1 -1
package/Item.proto
CHANGED
|
@@ -6,7 +6,7 @@ option java_package = "com.merabills.server.core.generated";
|
|
|
6
6
|
import "Entity.proto";
|
|
7
7
|
|
|
8
8
|
// Something that a business buys or sells, or a category or price thereof.
|
|
9
|
-
// Excluded: isPublic,
|
|
9
|
+
// Excluded: isPublic, keyValues and all Translations fields.
|
|
10
10
|
message Item {
|
|
11
11
|
|
|
12
12
|
Entity entity = 1;
|
|
@@ -18,9 +18,11 @@ message Item {
|
|
|
18
18
|
// each product.
|
|
19
19
|
int64 parentItemId = 2;
|
|
20
20
|
|
|
21
|
+
bool isDisabled = 3;
|
|
22
|
+
|
|
21
23
|
// At most Constants.ITEM_NAME_MAX_LENGTH
|
|
22
|
-
string name =
|
|
24
|
+
string name = 4;
|
|
23
25
|
|
|
24
26
|
// At most Constants.ITEM_DESCRIPTION_MAX_LENGTH
|
|
25
|
-
optional string description =
|
|
27
|
+
optional string description = 5;
|
|
26
28
|
}
|