Subversion Repositories SmartDukaan

Rev

Rev 2824 | Rev 2975 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2824 Rev 2841
Line 27... Line 27...
27
struct Vendor{
27
struct Vendor{
28
	1:i64 id,
28
	1:i64 id,
29
	2:string name
29
	2:string name
30
}
30
}
31
 
31
 
-
 
32
enum BillingType {
-
 
33
	OURS = 0,
-
 
34
	EXTERNAL = 1
-
 
35
}
-
 
36
 
32
/* 
37
/* 
33
Warehouse fields details
38
Warehouse fields details
34
location: it is full address
39
location: it is full address
35
vendorString: some key for the warehouse
40
vendorString: some key for the warehouse
36
*/
41
*/
Line 44... Line 49...
44
	7:string tinNumber,
49
	7:string tinNumber,
45
	8:string pincode,
50
	8:string pincode,
46
	9:string vendorString,
51
	9:string vendorString,
47
	10:WarehouseLocation logisticsLocation,
52
	10:WarehouseLocation logisticsLocation,
48
	11:string vendor,
53
	11:string vendor,
49
	12:i64 vendorId
54
	12:i64 vendorId,
-
 
55
	13:BillingType billingType
50
}
56
}
51
/* */
57
/* */
52
struct ItemInventory{
58
struct ItemInventory{
53
	1:i64 id,
59
	1:i64 id,
54
	2:map<i64,i64> availability
60
	2:map<i64,i64> availability