In this task, we will write the logic to allow only 500 subscribers in Basic plan and disable the rest. For example: if a user is on Basic plan and his subscribers count increases from 500 then we will store the subscribers in our database but he can only use 500 subscribers. Rest will be disabled. If he sends a broadcast then can send it to maximum 500 subscribers irrespective of how many more subscribers he have.
In this task, we will write the logic to allow only 500 subscribers in Basic plan and disable the rest. For example: if a user is on Basic plan and his subscribers count increases from 500 then we will store the subscribers in our database but he can only use 500 subscribers. Rest will be disabled. If he sends a broadcast then can send it to maximum 500 subscribers irrespective of how many more subscribers he have.