Java code structuring for school project
<p>Myself and 3-4 students in my Java class current are working on a project and none of us agree on a way in which to do specific part. </p>

<p>For context here's the directions for this part:</p>

<ul>
<li>A card ID which should be a whole number</li>
<li>A name which should be text</li>
<li>A set of 8 permissions, each of these 8 permission will represent one door. This could be stored as booleans, integers or whatever you like.</li>
<li><p>You must also make the following method available:</p>

<blockquote>
  <p><code>public boolean checkDoorPermissions(int doorNumber)</code></p>
  
  <p>behavior: This method will take an integer from 0 to 7 representing one of 8 doors. It will return true if this card's owner (this object) should open the door numbered doorNumber. The method should return false otherwise.</p>
</blockquote></li>
</ul>

<p>We are at odds over how to go about the permissions. I've suggested an array list as it may be easier to access it in the method afterwards. Others have suggested making 8 <code>boolean</code> permissions, or 8 <code>int</code>s (e.g. <code>private int doorNumber8;</code>).</p>

<p>Any help/direction is greatly appreciated.</p>
