I am not quite understand your application scene, is this hotel or airBnB application?
As I said before, you can assign “Card Number” to your guest (even fake the card number if no physical RFID card used, this is just index of the user database, as long as the number is unique), therefore you can assign “Start” and “End” date when the card is valid (mapping to check-in and check-out date). You don’t need to manage PIN (which is associated with Card Number), you just manager the “Card Number” which mapped to your guest. Also, the card number can mapped with “Virtual Number”, the “Vitural Number” here in apartment application can be mapped to “Room Number” or “Appartment Number”, but BOTH CARD NUMBER and VIRTUAL NUMBER MUST BE UNIQUE, as these are used as INDEX for the user database.
Once you have the “Card”, then you can assign “Schedule” to the cards, so you can control those cards to be active or disable in different schedules, like Office Hour (employees), Off Office Hour (like card for Janitors), or Weekend, Holidays, etc. You can also assign temp Card/Pin for courier services like UPS or FedEx, etc.
Hope this helps. Please advise if you have further questions. Thank you for using Grandstream Access Control Products.