Subversion Repositories SmartDukaan

Rev

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

Rev 2455 Rev 2780
Line 30... Line 30...
30
struct Message{
30
struct Message{
31
	1:i64 id,
31
	1:i64 id,
32
	2:string message
32
	2:string message
33
}
33
}
34
 
34
 
-
 
35
enum Role{
-
 
36
	WAREHOUSE_EXECUTIVE = 0,
-
 
37
	ADMIN = 1,
-
 
38
	CATEGORY_MANAGER = 2
-
 
39
}
-
 
40
 
35
struct DashboardUser{
41
struct DashboardUser{
36
	1:string username,
42
	1:string username,
37
	2:string password,
43
	2:string password,
38
	3:i64 warehouseId,
44
	3:i64 warehouseId,
39
	4:bool admin
45
	4:Role role
40
}
46
}
41
 
47
 
42
struct LogisticsUser{
48
struct LogisticsUser{
43
	1:string username,
49
	1:string username,
44
	2:i64 providerId
50
	2:i64 providerId