Subversion Repositories SmartDukaan

Rev

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

Rev 641 Rev 667
Line 64... Line 64...
64
	6:string extra_info,
64
	6:string extra_info,
65
	7:double quantity,
65
	7:double quantity,
66
	8:double unit_price,
66
	8:double unit_price,
67
	9:double unit_weight,
67
	9:double unit_weight,
68
	10:double total_price,
68
	10:double total_price,
69
	11:double total_weight
69
	11:double total_weight,
-
 
70
	12:string color
70
}
71
}
71
 
72
 
72
 
73
 
73
struct Order{
74
struct Order{
74
	1:i64 id,
75
	1:i64 id,
75
	2:i64 warehouse_id,
76
	2:i64 warehouse_id,
76
	/**
77
	/**
77
	transaction_id is not required here. relationship will be stored in db
-
 
78
	3:i64 transaction_id,
-
 
79
	**/
-
 
80
	
-
 
81
	/**
-
 
82
		item info
78
		item info
83
	**/
79
	**/
84
	3:list<LineItem> lineitems,
80
	3:list<LineItem> lineitems,
85
	/**
81
	/**
86
	  logistics info
82
	  logistics info
Line 118... Line 114...
118
	20:i64 created_timestamp,
114
	20:i64 created_timestamp,
119
	21:i64 accepted_timestamp,
115
	21:i64 accepted_timestamp,
120
	22:i64 billing_timestamp,
116
	22:i64 billing_timestamp,
121
	23:i64 shipping_timestamp,
117
	23:i64 shipping_timestamp,
122
	24:i64 delivery_timestamp,
118
	24:i64 delivery_timestamp,
123
	25:i64 jacket_number
119
	25:i64 jacket_number,
-
 
120
	26:string customer_city,
-
 
121
	27:string customer_state
124
}
122
}
125
 
123
 
126
struct Transaction{
124
struct Transaction{
127
	1:i64 id,
125
	1:i64 id,
128
	2:list<Order> orders,
126
	2:list<Order> orders,