Subversion Repositories SmartDukaan

Rev

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

Rev 588 Rev 606
Line 4... Line 4...
4
/**
4
/**
5
	Objects
5
	Objects
6
*/
6
*/
7
 
7
 
8
/**
8
/**
9
Caution :- Never ever change the numbers in it. Please confirm from @ashish before any changes in enuma dn other entries in file.
9
Caution :- Never ever change the numbers in it. Please confirm from @ashish before any changes in enum and other entries in file.
10
**/
10
**/
11
 
11
 
12
enum status{
12
enum status{
13
	PHASED_OUT = 0,		//Item is no longer selling
13
	PHASED_OUT = 0,		//Item is no longer selling
14
	DELETED = 1,		//Item has been deliberately deleted 
14
	DELETED = 1,		//Item has been deliberately deleted 
Line 64... Line 64...
64
	16:double weight,
64
	16:double weight,
65
	17:i64 addedOn,
65
	17:i64 addedOn,
66
	18:i64 startDate,
66
	18:i64 startDate,
67
	19:i64 retireDate,
67
	19:i64 retireDate,
68
	20:status itemStatus,
68
	20:status itemStatus,
69
	21:map<string,string> otherInfo
69
	21:map<string,string> otherInfo,
-
 
70
	22:string bestDealText,
-
 
71
	23:double bestDealValue,
-
 
72
	24:double dealerPrice,
-
 
73
	25:i64 updatedOn,
-
 
74
	26:string color
70
}
75
}
71
 
76
 
72
exception InventoryServiceException{
77
exception InventoryServiceException{
73
	1:i64 id,
78
	1:i64 id,
74
	2:string message
79
	2:string message