initial commit
This commit is contained in:
9
assets/category.fbs
Normal file
9
assets/category.fbs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace internal.encoding.fbs;
|
||||
|
||||
table Category {
|
||||
id:long;
|
||||
name:string;
|
||||
}
|
||||
|
||||
root_type Category;
|
||||
|
||||
23
assets/gooditem.fbs
Normal file
23
assets/gooditem.fbs
Normal file
@ -0,0 +1,23 @@
|
||||
namespace internal.encoding.fbs;
|
||||
|
||||
table GoodItem {
|
||||
sku:string;
|
||||
photo:string;
|
||||
name:string;
|
||||
description:string;
|
||||
category:string;
|
||||
type:string;
|
||||
producer:string;
|
||||
pack:short;
|
||||
step:short;
|
||||
price:float;
|
||||
tariff:float;
|
||||
cart:long;
|
||||
stock:short;
|
||||
}
|
||||
|
||||
table GoodItems {
|
||||
items:[GoodItem];
|
||||
}
|
||||
|
||||
root_type GoodItems;
|
||||
Reference in New Issue
Block a user