OpenSourceBikeShare icon indicating copy to clipboard operation
OpenSourceBikeShare copied to clipboard

add rent only / return only stands

Open nekromoff opened this issue 10 years ago • 1 comments

when stands needs to be removed / replaced, set special tag (serviceTag?) so it will only allow renting, but not returns.

please, discuss, then reassign.

nekromoff avatar Oct 07 '14 10:10 nekromoff

Either use a different bit of service tag, e.g.: 1st bit (1) - don't show in map/FREE command 2nd bit (2) - don't allow rentals from this stand 3rd bit (4) - don't allow returns to this stand.

Or create a different column (serviceTag -> dontShow, dontAllowRentals) and create maxNumberBikes. After reaching maxNumberBikes, no more returns would be possible.

mmmaly avatar Oct 07 '14 10:10 mmmaly